File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed
Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -232,25 +232,25 @@ Only set this when your provider uses a different path or expects query paramete
232232
233233=== "Same model with different settings"
234234
235- For now, you can create different providers with same model names to achieve that:
235+ For now, you can create different providers with same model names to achieve that:
236236
237- ``` javascript
238- {
239- " providers" : {
240- " openai" : {
241- " api" : " openai-responses" ,
242- " models" : { " gpt-5" : {} }
243- },
244- " openai-high" : {
245- " api" : " openai-responses" ,
246- " url" : " https://api.openai.com" ,
247- " keyEnv" : " OPENAI_API_KEY" ,
248- " models" : {
249- " gpt-5" : {
250- " extraPayload" : { " reasoning" : { " effort" : " high" } }
251- }
252- }
253- }
237+ ```javascript
238+ {
239+ "providers": {
240+ "openai": {
241+ "api": "openai-responses",
242+ "models": { "gpt-5": {} }
243+ },
244+ "openai-high": {
245+ "api": "openai-responses",
246+ "url": "https://api.openai.com",
247+ "keyEnv": "OPENAI_API_KEY",
248+ "models": {
249+ "gpt-5": {
250+ "extraPayload": { "reasoning": { "effort": "high" } }
251+ }
252+ }
253+ }
254+ }
254255 }
255- }
256- ```
256+ ```
You can’t perform that action at this time.
0 commit comments