Replies: 1 comment
-
I guess a follow up question is - how do you create a routing agent? I'd add my own prompt to the CodeAgent, but then, only ManagedAgent supports additional prompts. I'd replace the system prompt, but the CODE_SYSTEM_PROMPT is quite detailed and properly handles the managed agents functionality, so I will need to copy-paste parts of the system prompt. What is the way you envisioned (or anyone succeeded) in making a routing agents? Anthropic's approach described here is quite clear, but I wonder what is the best way to use it in the library |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently,
agent.run
fails if the message has something like "Hello" (I use the example agent from the text to sql post).How do you usually route your system to either use the agent or a chat-based llm to respond?
Do you think this simple case is the one where I already need to build a routing llm agent, and route to either a simple chat agent or to the sql agent? This approach seems rather complex for such a simple common use case.
Beta Was this translation helpful? Give feedback.
All reactions