DurableAgent providers, avoiding deps, syntax ideas #570
lawsonoates
started this conversation in
Ideas
Replies: 0 comments
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.
-
I recently opened a PR to add openrouter support as a provider. Wrapping each provider with 'use step' individually with the added deps seems unnecessary.
Idea: Integrate directly into DurableAgent
Add the 'use step' function to DurableAgent implementation with the provider as an arg. The resulting syntax would look like:
Lmk your thoughts!
I am fairly new to the codebase so if there is a feature coming up where each provider needs own config or I overlooked something lmk :)
Beta Was this translation helpful? Give feedback.
All reactions