Receptionist routes to the best agent for initial user input #94
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implementation for #91
Can go straight to
CodeMonkey
so that we can be benchmarked against ChatGPT agents.Needs to go to the
ProductOwner
.Introducing the Receptionist into the conversation
NOTE - This isn't wired up yet. To pass the benchmarks, The
Receptionist
needs to take the first user input prompt.The problem is that the call flow, by default goes:
It would need to be changed to:
( PO asks Receptionist "do you think they want to speak to me or the Code Monkey?" )
Or:
Or:
Agent Protocol
I'm also thinking how the Agent Protocol (#89) would work. My original thinking was:
An IDE "New Project" wizard could have a UI which asked for the the following and sent them as sequential
input
s and possiblyadditional_input
fields, but I'm not a big fan of using theadditional_input
as it's something that the client (IDE) needs to know about, but it could be a good mechanism to getting past the Receptionist.Creates an
App
and responds withapp_id
astask_id
> { "task_id": "chat_app" }
Is it reasonable that the client would know (how) to send the
Description
from the New Project wizard UI?It's possible that the client just starts off with an empty text box like ChatGPT, but at this stage I'm not sure what the client would be sending in the initial Task post.
We still need to cater for the standard use which seems to be:
POST /agent/tasks
POST /agent/tasks/{task_id}/steps
The catch is that we're not able to present them with a prompt from our app/LLM until they've POSTed the first
steps
input.