Commit 6addcf6
committed
Fix role mismatch in gemini_investigate's conversation loop: function-call results were being sent with role 'user' instead of role 'function', contradicting geminiChat's own documented contract (see its doc comment) and Gemini's function-calling API spec. This likely degraded the model's ability to correctly track which turns were its own tool results vs new instructions across multi-step investigations.
1 parent 4b2f2b4 commit 6addcf6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
818 | | - | |
| 818 | + | |
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
| |||
0 commit comments