chore: generate
This commit is contained in:
@@ -1128,7 +1128,7 @@ export function options(input: {
|
|||||||
|
|
||||||
if (input.model.api.npm === "@ai-sdk/azure" && input.model.api.id.includes("gpt-5.5")) {
|
if (input.model.api.npm === "@ai-sdk/azure" && input.model.api.id.includes("gpt-5.5")) {
|
||||||
result["reasoningSummary"] = "auto"
|
result["reasoningSummary"] = "auto"
|
||||||
return result;
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
if (input.model.api.id.includes("gpt-5") && !input.model.api.id.includes("gpt-5-chat")) {
|
if (input.model.api.id.includes("gpt-5") && !input.model.api.id.includes("gpt-5-chat")) {
|
||||||
|
|||||||
@@ -358,7 +358,7 @@ describe("ProviderTransform.options - gpt-5 reasoningEffort", () => {
|
|||||||
headers: {},
|
headers: {},
|
||||||
}) as any
|
}) as any
|
||||||
|
|
||||||
test('gpt-5-chat should NOT set reasoningEffort', () => {
|
test("gpt-5-chat should NOT set reasoningEffort", () => {
|
||||||
const result = ProviderTransform.options({
|
const result = ProviderTransform.options({
|
||||||
model: createModel("gpt-5-chat"),
|
model: createModel("gpt-5-chat"),
|
||||||
sessionID,
|
sessionID,
|
||||||
|
|||||||
Reference in New Issue
Block a user