chore: bump anthropic ai sdk pkg, delete patch (#21247)

This commit is contained in:
Aiden Cline
2026-04-06 20:28:32 -05:00
committed by GitHub
parent e64548fb4d
commit 3c31d04666
5 changed files with 9 additions and 129 deletions
+4 -5
View File
@@ -872,16 +872,15 @@ describe("session.llm.stream", () => {
})
})
test("sends messages API payload for Anthropic models", async () => {
test("sends messages API payload for Anthropic Compatible models", async () => {
const server = state.server
if (!server) {
throw new Error("Server not initialized")
}
const providerID = "anthropic"
const modelID = "claude-3-5-sonnet-20241022"
const providerID = "minimax"
const modelID = "MiniMax-M2.5"
const fixture = await loadFixture(providerID, modelID)
const provider = fixture.provider
const model = fixture.model
const chunks = [
@@ -962,7 +961,7 @@ describe("session.llm.stream", () => {
role: "user",
time: { created: Date.now() },
agent: agent.name,
model: { providerID: ProviderID.make("minimax"), modelID: ModelID.make("MiniMax-M2.7") },
model: { providerID: ProviderID.make("minimax"), modelID: ModelID.make("MiniMax-M2.5") },
} satisfies MessageV2.User
const stream = await LLM.stream({