Skip to content

Commit 8a55920

Browse files
chore: generate
1 parent 9db90a0 commit 8a55920

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

packages/llm/src/protocols/openai-responses.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,7 @@ const OpenAIResponsesReasoningItem = Schema.Struct({
6060
// `function_call_output.output` accepts either a plain string or an ordered
6161
// array of content items so tools can return images in addition to text.
6262
// https://platform.openai.com/docs/api-reference/responses/object
63-
const OpenAIResponsesFunctionCallOutputContent = Schema.Union([
64-
OpenAIResponsesInputText,
65-
OpenAIResponsesInputImage,
66-
])
63+
const OpenAIResponsesFunctionCallOutputContent = Schema.Union([OpenAIResponsesInputText, OpenAIResponsesInputImage])
6764

6865
const OpenAIResponsesFunctionCallOutput = Schema.Union([
6966
Schema.String,

packages/llm/test/recorded-scenarios.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,7 @@ const runImageToolResultScenario = (context: GoldenScenarioContext) =>
333333
generation: generation(context, context.maxTokens ?? 40),
334334
messages: [
335335
Message.user("Use the read_screenshot tool, then reply with the words shown."),
336-
Message.assistant([
337-
{ type: "tool-call", id: "call_screenshot_1", name: screenshotToolName, input: {} },
338-
]),
336+
Message.assistant([{ type: "tool-call", id: "call_screenshot_1", name: screenshotToolName, input: {} }]),
339337
Message.tool({
340338
id: "call_screenshot_1",
341339
name: screenshotToolName,

0 commit comments

Comments
 (0)