mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
refactor to reduce size of agentic_system
This commit is contained in:
parent
be19b22391
commit
5e972ece13
3 changed files with 670 additions and 643 deletions
|
@ -191,6 +191,10 @@ def create_dynamic_typed_route(func: Any):
|
|||
print("Generator cancelled")
|
||||
await event_gen.aclose()
|
||||
except Exception as e:
|
||||
print(e)
|
||||
import traceback
|
||||
|
||||
traceback.print_exc()
|
||||
yield create_sse_event(
|
||||
{
|
||||
"error": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue