chore: generate

This commit is contained in:
opencode-agent[bot]
2026-01-31 02:35:22 +00:00
parent d9f18e4006
commit 644f0d4e92
12 changed files with 407 additions and 506 deletions

View File

@@ -464,7 +464,7 @@ describe("full conversation", () => {
expect(result).toHaveLength(4)
const systemMsg = result[0];
const systemMsg = result[0]
expect(systemMsg.role).toBe("system")
// Assistant message should have reasoning fields

View File

@@ -355,7 +355,9 @@ describe("doStream", () => {
// Check text content
const textDeltas = parts.filter((p) => p.type === "text-delta")
expect(textDeltas).toHaveLength(1)
expect((textDeltas[0] as { delta: string }).delta).toContain("Okay, I need to check out the project's file structure.")
expect((textDeltas[0] as { delta: string }).delta).toContain(
"Okay, I need to check out the project's file structure.",
)
// Check tool call
const toolParts = parts.filter(

View File

@@ -1108,7 +1108,7 @@ describe("ProviderTransform.message - providerOptions key remapping", () => {
role: "user",
content: "Hello",
providerOptions: {
"copilot": { someOption: "value" },
copilot: { someOption: "value" },
},
},
] as any[]