# Copy this file to configs/llm.yaml and edit local values. # Do not commit real API keys. provider: local # local or api base_url: http://localhost:8000/v1 model: your-local-model # For remote API, prefer api_key_env instead of api_key. api_key_env: OPENAI_COMPAT_API_KEY # api_key: null timeout_seconds: 120 temperature: 0.0 max_tokens: 512 # top_p: 1.0 # Some self-hosted gateways behind WAF/CDN rules may reject Python's default # user agent. Prefer fixing server-side allow rules, but this can help with # basic User-Agent filtering. # If your endpoint is behind a WAF/CDN that rejects Python's default signature, # use a browser-like User-Agent or configure the server to allow this client. user_agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0 Safari/537.36 extra_headers: {} extra_body: {}