Refactor team management #26
Reference in New Issue
Block a user
Delete Branch "21-team-monitoring"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request refactors the agent team orchestration and pipeline logic, introducing a new AppTeam class for managing teams of agents and their tools, and simplifying the pipeline's interact method.
Waiting to PR since it requires #23 , #24 and maybe #18 to merge to main
Note: this is a second PR since the first one was not drafted but requested directly
Pull Request Overview
This pull request refactors the agent team orchestration system by introducing a new
PipelineInputsclass for managing team configuration and simplifying the pipeline's interaction logic. The changes move from a configuration-based approach to a more flexible input-based system that supports async workflows.PipelineInputsclass to manage team configuration and user selectionsPipelineclass to use workflow-based execution with async supportConfigsRunclass andcreate_team_withfunction in favor of inline team creationReviewed Changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
PipelineInputsinstead ofConfigsRunand Pipeline's async interfacePipelineInputsand new Pipeline instantiation patternget_defaultsmethod and moved initialization logic to__init__PipelineInputs, workflow-based execution, and async supportComments suppressed due to low confidence (1)
src/app/agents/pipeline.py:1
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
@@ -1,32 +1,59 @@import asyncioThe docstring incorrectly describes this method as choosing the model for the Team, but it actually chooses the team leader model.