Replies: 1 comment 1 reply
-
|
You can use Runnable Generator or Runnable Lambda to create the agent at run time. Or you can create a custom agent executor: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
so currently I use langserve like this:
I want to include the model / agent name in the api call which will later be processed in agent.py so that the model change process can be done dynamically, how do I do that?
In agent.py:
example api call:
Thankyou!
Beta Was this translation helpful? Give feedback.
All reactions