We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bdba37 commit 500dcd4Copy full SHA for 500dcd4
apps/sim/providers/openrouter/index.ts
@@ -516,7 +516,7 @@ export const openRouterProvider: ProviderConfig = {
516
return streamingResult as StreamingExecution
517
}
518
519
- if (request.responseFormat && hasActiveTools && toolCalls.length > 0) {
+ if (request.responseFormat && hasActiveTools) {
520
const finalPayload: any = {
521
model: payload.model,
522
messages: [...currentMessages],
0 commit comments