Find answers from the community

Updated 3 months ago

Is there a way to change the system

Is there a way to change the system prompt for the OpenAI agent without creating a new OpenAI agent object? I tried editing the prefix_messages attribute but it doesn't seem to propagate the new system prompt
Edit: I think I need to use chat_agent.agent_worker.prefix_messages
L
1 comment
creating the agent object is also essentially a no-op
Add a reply
Sign up and join the conversation on Discord