Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust how human input works #244

Open
jlowin opened this issue Jul 29, 2024 · 1 comment
Open

Adjust how human input works #244

jlowin opened this issue Jul 29, 2024 · 1 comment
Labels
enhancement Enhance an existing feature

Comments

@jlowin
Copy link
Member

jlowin commented Jul 29, 2024

Probably will address #219

Instead of having human input only via agent making a tool call and the user input in the response, instruct the agents that user input may come at any time in the thread, but they must use a tool to specifically request a response from the user.

The pattern the agent would see is:

...
<agent used human input tool: 'hello, whats your name?'>
<tool response successful>
<human message>

The key is we have to show the tool call so that agents don't conclude from history that they can converse with users by posting "regular" messages.

This will also facilitate adding user messages at any point, perhaps with a mechanism like

agent.send_message()
or 
task.send_message()

sending a global message doesn't seem necessary at the moment.

@jlowin jlowin added the enhancement Enhance an existing feature label Jul 29, 2024
@dexhorthy
Copy link
Collaborator

dexhorthy commented Jul 30, 2024

yes please! I hadn't considered the "create a synthetic tool call before inserting the user input" to allow for ad-hoc "injection" of user input - definitely interesting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhance an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants