Skip to content

How do I change an agent's response before it is added to the chat? #2326

Discussion options

You must be logged in to vote

This can be done by hooking the ConversableAgent.process_message_before_send message. See test_conversable_agent.py and webarena_agents.py.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PyroGenesis
Comment options

Answer selected by PyroGenesis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants