You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, I need to provide an entity_id when initializing ComposioToolSet or calling get_tools. Since entity_id changes per user, I'm currently recompiling my graph for each user session.
My application has separate frontend authentication that provides the entity_id at runtime via config:
config= {
"configurable": {
"entity_id": user_id# Available at runtime
}
}
Is there a way to initialize tools once and provide the entity_id at execution time instead? Are there docs or recommended patterns for handling this use case? I'd like to avoid graph recompilation as much as possible.
Really appreciate any help you can offer, thanks!
The text was updated successfully, but these errors were encountered:
I'm using Composio with LangGraph and want to define tools using the App enum pattern:
Currently, I need to provide an
entity_id
when initializingComposioToolSet
or callingget_tools
. Sinceentity_id
changes per user, I'm currently recompiling my graph for each user session.My application has separate frontend authentication that provides the
entity_id
at runtime viaconfig
:Is there a way to initialize tools once and provide the
entity_id
at execution time instead? Are there docs or recommended patterns for handling this use case? I'd like to avoid graph recompilation as much as possible.Really appreciate any help you can offer, thanks!
The text was updated successfully, but these errors were encountered: