fix(core): expand reasoning option variants (#36894)

This commit is contained in:
Aiden Cline
2026-07-14 22:12:02 -05:00
committed by GitHub
parent 2cb2f9d538
commit 7eb7fe0763
7 changed files with 988 additions and 53 deletions
+4 -2
View File
@@ -37,6 +37,7 @@ const fixture = {
id: "acme",
name: "Acme",
env: ["ACME_API_KEY"],
npm: "@ai-sdk/openai-compatible",
models: {
"acme-1": {
id: "acme-1",
@@ -57,7 +58,7 @@ const fixtureSnapshot = [
info: {
id: ProviderV2.ID.make("acme"),
name: "Acme",
package: "",
package: ProviderV2.aisdk("@ai-sdk/openai-compatible"),
},
models: [
{
@@ -97,6 +98,7 @@ const fixture2 = {
id: "beta",
name: "Beta",
env: ["BETA_API_KEY"],
npm: "@ai-sdk/openai-compatible",
models: {
"beta-1": {
id: "beta-1",
@@ -117,7 +119,7 @@ const fixture2Snapshot = [
info: {
id: ProviderV2.ID.make("beta"),
name: "Beta",
package: "",
package: ProviderV2.aisdk("@ai-sdk/openai-compatible"),
},
models: [
{