mirror of
https://github.com/NCBM/plyngent.git
synced 2026-07-25 08:04:57 +08:00
core/runtime: configurable provider HTTP request timeouts
This commit is contained in:
@@ -33,6 +33,9 @@ max_context_tokens = 200000
|
||||
preset = "openai-compatible"
|
||||
url = "https://api.openai.com/v1"
|
||||
access_key_or_token = "sk-replace-me"
|
||||
# HTTP timeouts for LLM API calls (seconds). Default if omitted: connect=10, read=600.
|
||||
# timeout = 120
|
||||
# timeout = { connect = 10, read = 600 }
|
||||
|
||||
[providers.openai_compat.models]
|
||||
"gpt-4o-mini" = { text = true, cost_factor = 1.0 }
|
||||
|
||||
Reference in New Issue
Block a user