generated from kgod/ai-review-template
22 lines
807 B
Bash
22 lines
807 B
Bash
# auto uses OpenAI only when OPENAI_API_KEY is non-empty; otherwise it uses rules.
|
|
RESUME_AGENT_LLM_PROVIDER=auto
|
|
OPENAI_API_KEY=
|
|
OPENAI_BASE_URL=https://re.94xy.cn
|
|
OPENAI_MODEL=gpt-4o-mini
|
|
|
|
# OpenAI-compatible gateways may use json_object if json_schema is unsupported.
|
|
OPENAI_STRUCTURED_OUTPUT_MODE=json_schema
|
|
OPENAI_TIMEOUT_SECONDS=30
|
|
OPENAI_MAX_RETRIES=2
|
|
OPENAI_STRUCTURED_OUTPUT_RETRIES=1
|
|
RESUME_AGENT_LLM_FALLBACK_TO_RULES=true
|
|
|
|
# For a live SDK smoke test, use provider=openai and fallback=false so failures surface.
|
|
# Keep secrets only in .env; .env is ignored by Git.
|
|
# RESUME_AGENT_LLM_PROVIDER=openai
|
|
# RESUME_AGENT_LLM_FALLBACK_TO_RULES=false
|
|
|
|
# Optional application settings:
|
|
# RESUME_AGENT_DATABASE=data/resume_agent.db
|
|
# RESUME_AGENT_CORS_ORIGINS=http://localhost:5173,http://127.0.0.1:5173
|