Switch AI defaults to OpenAI gpt-4.1-nano.

Prefer the cheapest ChatGPT model that supports our JSON completions, and skip custom temperature for gpt-5/o-series models.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-10 20:33:43 +03:30
co-authored by Cursor
parent 0743063c15
commit 23ba6344f6
2 changed files with 30 additions and 14 deletions
+4 -4
View File
@@ -66,12 +66,12 @@ OLD_S3_FORCE_PATH_STYLE=true
OLD_S3_ACCESS_KEY_ID=
OLD_S3_SECRET_ACCESS_KEY=
# AI product generation (use Groq free tier or OpenAI)
AI_PROVIDER=groq
# AI product / category generation (OpenAI preferred; Groq optional fallback)
AI_PROVIDER=openai
OPENAI_API_KEY=
OPENAI_MODEL=gpt-4.1-nano
GROQ_API_KEY=
GROQ_MODEL=llama-3.3-70b-versatile
OPENAI_API_KEY=
OPENAI_MODEL=gpt-4o-mini
MEDIA_MAX_FILE_SIZE_MB=10