refactor(core): nest model api id (#30603)

This commit is contained in:
Dax
2026-06-03 14:11:38 -04:00
committed by GitHub
parent af6383485b
commit 11dbd15812
35 changed files with 129 additions and 79 deletions
@@ -94,7 +94,7 @@ describe("PerplexityPlugin", () => {
const result = yield* plugin.trigger(
"aisdk.language",
{
model: model("perplexity", "alias", { apiID: ModelV2.ID.make("sonar") }),
model: model("perplexity", "alias", { api: { id: ModelV2.ID.make("sonar") } }),
sdk: fakeSelectorSdk(calls),
options: {},
},