fix: gpt-5.5+ in combination with azure fails with reasoningEffort (#40265)
This commit is contained in:
@@ -690,6 +690,16 @@ describe("ProviderTransform.options - gpt-5 reasoningEffort", () => {
|
||||
|
||||
expect(result.reasoningEffort).toBeUndefined()
|
||||
})
|
||||
|
||||
test("gpt-5.6 should NOT set reasoningEffort", () => {
|
||||
const result = ProviderTransform.options({
|
||||
model: createModel("gpt-5.6"),
|
||||
sessionID,
|
||||
providerOptions: {},
|
||||
})
|
||||
|
||||
expect(result.reasoningEffort).toBeUndefined()
|
||||
})
|
||||
})
|
||||
|
||||
describe("ProviderTransform.options - gateway", () => {
|
||||
|
||||
Reference in New Issue
Block a user