Skip to content

Commit 1f67f61

Browse files
authored
Reasoning effort fix (#1674)
* mantle: reasoning-effort fix * fix for vertex and cohere * fix: strip reasoning_effort on vertex claude-sonnet-4-5@20250929 to match sonnet-4-5 * cohere
1 parent 512c120 commit 1f67f61

36 files changed

Lines changed: 170 additions & 0 deletions

providers/aws-bedrock-mantle/openai.gpt-oss-20b.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ modalities:
5353
- text
5454
mode: chat
5555
model: openai.gpt-oss-20b
56+
params:
57+
- key: reasoning_effort
58+
supportedValues:
59+
- low
60+
- medium
61+
- high
62+
type: string
5663
provisioning: serverless
5764
sources:
5865
- https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-20b.html

providers/aws-bedrock-mantle/openai.gpt-oss-safeguard-120b.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ modalities:
5151
- text
5252
mode: chat
5353
model: openai.gpt-oss-safeguard-120b
54+
params:
55+
- key: reasoning_effort
56+
supportedValues:
57+
- low
58+
- medium
59+
- high
60+
type: string
5461
provisioning: serverless
5562
sources:
5663
- https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-safeguard-120b.html

providers/cohere/cohere-transcribe-03-2026.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ removeParams:
1010
- max_tokens
1111
- temperature
1212
- stream
13+
- reasoning_effort
1314
sources:
1415
- https://docs.cohere.com/docs/transcribe
1516
status: active

providers/cohere/default.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ params:
2020
- defaultValue: true
2121
key: stream
2222
type: boolean
23+
- defaultValue: high
24+
key: reasoning_effort
25+
supportedValues:
26+
- none
27+
- high
28+
type: string

providers/cohere/embed-english-light-v3.0.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ removeParams:
1919
- temperature
2020
- stream
2121
- max_tokens
22+
- reasoning_effort
2223
sources:
2324
- https://docs.cohere.com/docs/cohere-embed
2425
- https://docs.cohere.com/reference/embed

providers/cohere/embed-english-v3.0-image.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ removeParams:
1313
- max_tokens
1414
- temperature
1515
- stream
16+
- reasoning_effort
1617
sources:
1718
- https://docs.cohere.com/docs/cohere-embed
1819
- https://docs.cohere.com/reference/embed

providers/cohere/embed-english-v3.0.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ removeParams:
2020
- max_tokens
2121
- temperature
2222
- stream
23+
- reasoning_effort
2324
sources:
2425
- https://docs.cohere.com/reference/embed
2526
- https://docs.cohere.com/docs/cohere-embed

providers/cohere/embed-multilingual-light-v3.0-image.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ removeParams:
1414
- max_tokens
1515
- temperature
1616
- stream
17+
- reasoning_effort
1718
sources:
1819
- https://docs.cohere.com/docs/cohere-embed
1920
- https://docs.cohere.com/reference/embed

providers/cohere/embed-multilingual-light-v3.0.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ removeParams:
1919
- max_tokens
2020
- temperature
2121
- stream
22+
- reasoning_effort
2223
sources:
2324
- https://docs.cohere.com/docs/cohere-embed
2425
- https://docs.cohere.com/v2/reference/embed

providers/cohere/embed-multilingual-v3.0-image.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ removeParams:
1515
- max_tokens
1616
- temperature
1717
- stream
18+
- reasoning_effort
1819
sources:
1920
- https://docs.cohere.com/reference/embed
2021
- https://docs.cohere.com/docs/cohere-embed

0 commit comments

Comments
 (0)