chore: generate

This commit is contained in:
opencode-agent[bot] 2026-05-22 16:25:15 +00:00
parent 9db90a0b76
commit 8a55920531
2 changed files with 2 additions and 7 deletions

View file

@ -60,10 +60,7 @@ const OpenAIResponsesReasoningItem = Schema.Struct({
// `function_call_output.output` accepts either a plain string or an ordered
// array of content items so tools can return images in addition to text.
// https://platform.openai.com/docs/api-reference/responses/object
const OpenAIResponsesFunctionCallOutputContent = Schema.Union([
OpenAIResponsesInputText,
OpenAIResponsesInputImage,
])
const OpenAIResponsesFunctionCallOutputContent = Schema.Union([OpenAIResponsesInputText, OpenAIResponsesInputImage])
const OpenAIResponsesFunctionCallOutput = Schema.Union([
Schema.String,

View file

@ -333,9 +333,7 @@ const runImageToolResultScenario = (context: GoldenScenarioContext) =>
generation: generation(context, context.maxTokens ?? 40),
messages: [
Message.user("Use the read_screenshot tool, then reply with the words shown."),
Message.assistant([
{ type: "tool-call", id: "call_screenshot_1", name: screenshotToolName, input: {} },
]),
Message.assistant([{ type: "tool-call", id: "call_screenshot_1", name: screenshotToolName, input: {} }]),
Message.tool({
id: "call_screenshot_1",
name: screenshotToolName,