Commit b9071a9
committed
fix: restore orchestration when agent is served
A change introduced in 91c1394 to improve how the current dialog
is passed to the orchestrator caused orchestration to stop working
when the agent is served directly.
In this scenario, current_dialog is always None because there is no
peer agent to generate a dialog.
Update __call__ to automatically build current_dialog from the
agent's memory when it is None.1 parent d61ddb9 commit b9071a9
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
316 | 331 | | |
317 | 332 | | |
318 | 333 | | |
| |||
0 commit comments