You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`api`| string | The API schema to use (`"openai-responses"`, `"openai-chat"`, or `"anthropic"`) | Yes |
68
+
|`urlEnv`| string | Environment variable name containing the API URL | No*|
69
+
|`url`| string | Direct API URL (use instead of `urlEnv`) | No*|
70
+
|`keyEnv`| string | Environment variable name containing the API key | No*|
71
+
|`keyRc`| string | Lookup specification to read the API key from Unix RC [credential files](#credential-file-authentication)| No*|
72
+
|`key`| string | Direct API key (use instead of `keyEnv`) | No*|
73
+
|`completionUrlRelativePath`| string | Optional override for the completion endpoint path (see defaults below and examples like Azure) | No |
74
+
|`models`| map | Key: model name, value: its config | Yes |
75
+
|`models <model> extraPayload`| map | Extra payload sent in body to LLM | No |
76
+
|`models <model> modelName`| string | Override model name, useful to have multiple models with different configs and names that use same LLM model | No |
76
77
77
78
_* url and key will be search as env `<provider>_API_URL` / `<provider>_API_KEY`, but require config or to be found to work._
78
79
@@ -305,25 +306,21 @@ Notes:
305
306
306
307
=== "Same model with different settings"
307
308
308
-
For now, you can create different providers with same model names to achieve that:
309
+
Using `modelName`, you can configure multiple model names using same model with different settings:
0 commit comments