refactor(core): remove ai sdk option fields (#30581)

This commit is contained in:
Dax
2026-06-03 13:32:58 -04:00
committed by GitHub
parent 7f8412ec3e
commit 1520b0de20
57 changed files with 825 additions and 686 deletions

View File

@@ -52,17 +52,13 @@ describe("GooglePlugin", () => {
const language = yield* aisdk.language(
model("custom-google", "alias", {
apiID: ModelV2.ID.make("gemini-api"),
endpoint: {
api: {
type: "aisdk",
package: "@ai-sdk/google",
},
options: {
request: {
headers: {},
body: {},
aisdk: {
provider: { apiKey: "test" },
request: {},
},
body: { apiKey: "test" },
},
}),
)