-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
in AgentBuilder~_build_agents, if there are more than one function can add to one agent, the agent`s system message will be update incorrectly #5037
Comments
hi @davidxwwang - are you sure you are on 0.2? if so would you consider migrating to 0.4?
|
|
What happened?
eg: if Function send_email and get_user_emailaddress is registered to agent Email_Expert. the send_email or get_user_emailaddress will miss in the Email_Expert system message! --->
for func in list_of_functions:
....
self.agent_procs_assign[resp][0].update_system_message(
self.UPDATED_AGENT_SYSTEM_MESSAGE.format(
agent_system_message=agents_current_system_message,
function_name=func["name"],
function_description=func["description"],
)
)
print(f"Function {func['name']} is registered to agent {resp}.")
What did you expect to happen?
Function send_email and get_user_emailaddress in the Email_Expert system message
How can we reproduce it (as minimally and precisely as possible)?
def do_task2(using_model: str):
AutoGen version
0.2
Which package was this bug in
AgentChat
Model used
gpt-3.5
Python version
3.10
Operating system
windows
Any additional info you think would be helpful for fixing this bug
No response
The text was updated successfully, but these errors were encountered: