Skip to content

Commit e44da10

Browse files
committed
fixup format parsing
1 parent 866ae2b commit e44da10

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/inference.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export async function mcpInference(
141141
// Add a user message requesting JSON format and try again
142142
messages.push({
143143
role: 'user',
144-
content: `Please provide your response in the exact ${request.responseFormat} format specified.`,
144+
content: `Please provide your response in the exact ${request.responseFormat.type} format specified.`,
145145
})
146146

147147
finalMessage = true

0 commit comments

Comments
 (0)