Multiple FastAgent instance possible ? #63
Unanswered
Yapppppppppppp
asked this question in
Q&A
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.
-
Can I define multiple FastAgent instances and then include their agents together in a single router, or must all agents used in a router be registered under the same FastAgent instance?
something like this
fast = FastAgent("banking_and_website_assistant", config_path = f'C:\chat_bot\csv_data\{user_id}\fastagent.config.yaml')
fast1 = FastAgent("banking_and_website_assistant", config_path = f'fastagent.config.yaml' )
@fast.agent(
name = "name1"
)
@fast1.agent(
name = "name2"
)
#i am not sure which router instance should i use for routing .
@fast.router(
agents=["name1", "name2"],
)
Beta Was this translation helpful? Give feedback.
All reactions