Skip to content
Prev Previous commit
Next Next commit
fix(providers): only collect user messages as deep research input
  • Loading branch information
waleedlatif1 committed Feb 11, 2026
commit b38719ae66b802b02a6bc1c86cf7ebe9dc22a8c8
2 changes: 1 addition & 1 deletion apps/sim/providers/gemini/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ function collapseMessagesToInput(request: ProviderRequest): {
for (const msg of request.messages) {
if (msg.role === 'system' && msg.content) {
systemParts.push(msg.content)
} else if (msg.content) {
} else if (msg.role === 'user' && msg.content) {
userParts.push(msg.content)
}
}
Expand Down