|
|
@@ -694,10 +694,10 @@ describe("ProviderTransform.variants", () => {
|
|
|
|
|
|
test("standard azure models return custom efforts with reasoningSummary", () => {
|
|
|
const model = createMockModel({
|
|
|
- id: "azure/gpt-4o",
|
|
|
+ id: "o1",
|
|
|
providerID: "azure",
|
|
|
api: {
|
|
|
- id: "gpt-4o",
|
|
|
+ id: "o1",
|
|
|
url: "https://azure.com",
|
|
|
npm: "@ai-sdk/azure",
|
|
|
},
|
|
|
@@ -713,7 +713,7 @@ describe("ProviderTransform.variants", () => {
|
|
|
|
|
|
test("gpt-5 adds minimal effort", () => {
|
|
|
const model = createMockModel({
|
|
|
- id: "azure/gpt-5",
|
|
|
+ id: "gpt-5",
|
|
|
providerID: "azure",
|
|
|
api: {
|
|
|
id: "gpt-5",
|
|
|
@@ -743,10 +743,10 @@ describe("ProviderTransform.variants", () => {
|
|
|
|
|
|
test("standard openai models return custom efforts with reasoningSummary", () => {
|
|
|
const model = createMockModel({
|
|
|
- id: "openai/gpt-4o",
|
|
|
+ id: "gpt-5",
|
|
|
providerID: "openai",
|
|
|
api: {
|
|
|
- id: "gpt-4o",
|
|
|
+ id: "gpt-5",
|
|
|
url: "https://api.openai.com",
|
|
|
npm: "@ai-sdk/openai",
|
|
|
},
|
|
|
@@ -763,10 +763,10 @@ describe("ProviderTransform.variants", () => {
|
|
|
|
|
|
test("models after 2025-11-13 include 'none' effort", () => {
|
|
|
const model = createMockModel({
|
|
|
- id: "openai/gpt-4.5",
|
|
|
+ id: "gpt-5-nano",
|
|
|
providerID: "openai",
|
|
|
api: {
|
|
|
- id: "gpt-4.5",
|
|
|
+ id: "gpt-5-nano",
|
|
|
url: "https://api.openai.com",
|
|
|
npm: "@ai-sdk/openai",
|
|
|
},
|