Commit 14d52f2
chore(logging): suppress harmless empty-message-cache warning and drop dead code
* Add a narrow logging.Filter on agent_framework._workflows._agent_executor
that drops only the 'Running agent with empty message cache' message.
This warning fires by design in GroupChat orchestration when the orchestrator
routes back to the same speaker (broadcast cache is empty because
_broadcast_messages_to_participants excludes the source executor). The
framework's parent client prepends system instructions before the LLM call,
so the API request still has content. Other warnings/errors from the same
logger remain visible.
* Remove three lines of commented-out duplicate callback invocation in
groupchat_orchestrator._complete_agent_response. The live callback handler
is in the block directly above; the commented block was refactor debris.
No behavioural change. All 833 tests pass.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 03387c4 commit 14d52f2
2 files changed
Lines changed: 30 additions & 4 deletions
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1250 | 1250 | | |
1251 | 1251 | | |
1252 | 1252 | | |
1253 | | - | |
1254 | | - | |
1255 | | - | |
1256 | | - | |
1257 | 1253 | | |
1258 | 1254 | | |
1259 | 1255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
25 | 48 | | |
26 | 49 | | |
27 | 50 | | |
| |||
120 | 143 | | |
121 | 144 | | |
122 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
123 | 153 | | |
124 | 154 | | |
125 | 155 | | |
| |||
0 commit comments