Commit 3291c46
fix: send_message tool name collision, thinking leak, team error reporting
1. send_message tool: renamed 'type' param to 'message_type' to avoid
JSON Schema keyword collision that caused LLMs to silently drop it.
Made message_type optional with default 'task'. Only 'to' and
'content' are now required.
2. Thinking events: mesh forwarder now maps executor.EventThinking to
"thinking" type. Team event converter suppresses thinking events
from team output (model reasoning is noise in team context).
3. Team error reporting: completion now emits error events for each
agent failure before the completion event, so users see what went
wrong instead of just "completed".
Note: Qwen3 thinking content still leaks as regular text when Ollama's
think mode is not explicitly enabled. This is an Ollama/model behavior
issue — without think:true in config, reasoning is mixed into the
content stream with no way to separate it at the Genkit level.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 48e1ab6 commit 3291c46
3 files changed
Lines changed: 35 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
638 | 643 | | |
639 | 644 | | |
640 | 645 | | |
| |||
668 | 673 | | |
669 | 674 | | |
670 | 675 | | |
671 | | - | |
| 676 | + | |
672 | 677 | | |
673 | | - | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
674 | 694 | | |
| 695 | + | |
675 | 696 | | |
676 | 697 | | |
677 | 698 | | |
| |||
684 | 705 | | |
685 | 706 | | |
686 | 707 | | |
687 | | - | |
| 708 | + | |
688 | 709 | | |
689 | 710 | | |
690 | 711 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
| 367 | + | |
| 368 | + | |
367 | 369 | | |
368 | 370 | | |
369 | 371 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
201 | 202 | | |
202 | | - | |
| 203 | + | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
209 | | - | |
| 210 | + | |
210 | 211 | | |
211 | 212 | | |
212 | | - | |
213 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
214 | 218 | | |
215 | 219 | | |
216 | 220 | | |
| |||
0 commit comments