How to provide function id and function response to runner.run_async() for a long running function tool #563
MahorShekhar
started this conversation in
General
Replies: 1 comment
-
@boyangsvl @hangfei @Jacksunwei could you guys please assist me with this. |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How to provide function id and function response to runner.run_async() for a long running function tool.
I have the a case where some function tool response will come later on. Right now I was handling with a kind of hack where I was registering event as author=system and role=model. I don't think this is the right way.
def handle_trigger(session: Session, trigger:str, form_data:dict = None) -> dict:
Now coming to solution suggested by @boyangsvl here on similar conversation, could you guys please help me with runner.run_async(), how can we provide function id and function response. Is there any example in cookbook ?
Beta Was this translation helpful? Give feedback.
All reactions