Commit dcacf57
committed
[bugf][planner-worker-swarm][run accepts img and never passes it on]
PlannerWorkerSwarm.run takes img, documents it, and lists it in the trace
decorator's input_params, but the parameter appears nowhere else in the class.
The planner, every worker and the judge are all called with task only, so a
vision request runs as a text-only workflow and returns a confident answer
about an image no agent ever saw.
img now reaches the planner (and its sub-planners), the worker pool, and the
judge. WorkerPool carries it because workers claim tasks from a queue rather
than being called directly.1 parent 6ba36f4 commit dcacf57
2 files changed
Lines changed: 44 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| 364 | + | |
364 | 365 | | |
365 | 366 | | |
366 | 367 | | |
367 | 368 | | |
| 369 | + | |
368 | 370 | | |
369 | 371 | | |
370 | 372 | | |
| |||
462 | 464 | | |
463 | 465 | | |
464 | 466 | | |
465 | | - | |
| 467 | + | |
466 | 468 | | |
467 | 469 | | |
468 | 470 | | |
| |||
473 | 475 | | |
474 | 476 | | |
475 | 477 | | |
476 | | - | |
| 478 | + | |
477 | 479 | | |
478 | 480 | | |
479 | 481 | | |
| |||
691 | 693 | | |
692 | 694 | | |
693 | 695 | | |
| 696 | + | |
694 | 697 | | |
695 | 698 | | |
696 | 699 | | |
| |||
711 | 714 | | |
712 | 715 | | |
713 | 716 | | |
714 | | - | |
| 717 | + | |
715 | 718 | | |
716 | 719 | | |
717 | 720 | | |
| |||
759 | 762 | | |
760 | 763 | | |
761 | 764 | | |
| 765 | + | |
762 | 766 | | |
763 | 767 | | |
764 | 768 | | |
765 | 769 | | |
766 | 770 | | |
767 | | - | |
| 771 | + | |
768 | 772 | | |
769 | 773 | | |
770 | 774 | | |
| |||
795 | 799 | | |
796 | 800 | | |
797 | 801 | | |
798 | | - | |
| 802 | + | |
799 | 803 | | |
800 | 804 | | |
801 | 805 | | |
| |||
889 | 893 | | |
890 | 894 | | |
891 | 895 | | |
892 | | - | |
| 896 | + | |
893 | 897 | | |
894 | 898 | | |
895 | 899 | | |
| |||
898 | 902 | | |
899 | 903 | | |
900 | 904 | | |
| 905 | + | |
901 | 906 | | |
902 | 907 | | |
903 | 908 | | |
| |||
910 | 915 | | |
911 | 916 | | |
912 | 917 | | |
913 | | - | |
| 918 | + | |
914 | 919 | | |
915 | 920 | | |
916 | 921 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
495 | 527 | | |
496 | 528 | | |
497 | 529 | | |
| |||
0 commit comments