We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43044eb commit 71ef584Copy full SHA for 71ef584
1 file changed
veadk/runner.py
@@ -138,6 +138,17 @@ async def wrapper(
138
**kwargs,
139
):
140
yield event
141
+ if event.get_function_calls():
142
+ for function_call in event.get_function_calls():
143
+ logger.debug(f"Function call: {function_call}")
144
+ elif (
145
+ event.content is not None
146
+ and event.content.parts
147
+ and event.content.parts[0].text is not None
148
+ and len(event.content.parts[0].text.strip()) > 0
149
+ ):
150
+ final_output = event.content.parts[0].text
151
+ logger.debug(f"Event output: {final_output}")
152
153
post_run_process(self)
154
0 commit comments