Skip to content
This repository was archived by the owner on Apr 17, 2026. It is now read-only.

enhancement: add supervisor agent for routing query#42

Merged
maximilien merged 18 commits into
mainfrom
fix-supervisor-timeout-and-routing
Aug 22, 2025
Merged

enhancement: add supervisor agent for routing query#42
maximilien merged 18 commits into
mainfrom
fix-supervisor-timeout-and-routing

Conversation

@george-lhj
Copy link
Copy Markdown
Contributor

@george-lhj george-lhj commented Aug 5, 2025

fixes #40

adds a supervisor agent as the first layer so that user only needs to input command, then the agent routes it to the correect endpoint

@george-lhj george-lhj self-assigned this Aug 5, 2025
@george-lhj george-lhj added the enhancement New feature or request label Aug 5, 2025
@george-lhj george-lhj changed the title enhancement: Fix supervisor timeout and routing enhancement: add supervisor agent for routing query Aug 5, 2025
Copy link
Copy Markdown
Contributor

@maximilien maximilien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments.

Comment thread api/main.py Outdated
Comment thread api/main.py Outdated
@george-lhj
Copy link
Copy Markdown
Contributor Author

addressed comments @maximilien

@george-lhj george-lhj requested a review from maximilien August 8, 2025 17:55
@george-lhj george-lhj force-pushed the fix-supervisor-timeout-and-routing branch from 0989cc5 to 8a3a034 Compare August 15, 2025 22:02
@george-lhj
Copy link
Copy Markdown
Contributor Author

@maximilien could you review this one? you requested changes to break apart into smaller functions and i finished the refactor while you were on vacation

Copy link
Copy Markdown
Contributor

@maximilien maximilien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also separate the APIs from the supervisor agent code. The API should be just calling the agent and other code as well as dealing with API issues (check for errors in input etc).

Sorry about late review. Please tag me and will try to respond within 1/2 day or so.

Comment thread api/main.py
@george-lhj george-lhj force-pushed the fix-supervisor-timeout-and-routing branch from 8a3a034 to 9210efc Compare August 19, 2025 19:05
@maximilien
Copy link
Copy Markdown
Contributor

LMK when ready for final review

@george-lhj
Copy link
Copy Markdown
Contributor Author

Screenshot 2025-08-19 at 2 26 31 PM

@george-lhj
Copy link
Copy Markdown
Contributor Author

ok i think it is ready for review @maximilien

@george-lhj george-lhj requested a review from maximilien August 19, 2025 21:58
@george-lhj george-lhj force-pushed the fix-supervisor-timeout-and-routing branch from b320de5 to 18afb03 Compare August 21, 2025 23:29
@george-lhj
Copy link
Copy Markdown
Contributor Author

finished @maximilien

added feature to auto show the agents once generated

Copy link
Copy Markdown
Contributor

@maximilien maximilien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM based on demo and quick review of code ... goal is to move fast and get users :)

@maximilien maximilien merged commit ad259a6 into main Aug 22, 2025
1 check passed
@george-lhj george-lhj deleted the fix-supervisor-timeout-and-routing branch August 22, 2025 17:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

enhancement: supervisor agent to determine tool type

2 participants