- Wrap agent.ainvoke() calls in try-except blocks - Log full exception tracebacks for better debugging - Return detailed error messages to users instead of generic 'internal error' - Include step title and agent name in error context - Allow workflow to continue gracefully when agent execution fails - Store error details in observations for audit trail |
||
|---|---|---|
| .. | ||
| agents | ||
| config | ||
| crawler | ||
| graph | ||
| llms | ||
| podcast | ||
| ppt/graph | ||
| prompt_enhancer | ||
| prompts | ||
| prose/graph | ||
| rag | ||
| server | ||
| tools | ||
| utils | ||
| __init__.py | ||
| workflow.py | ||