claude-os/app/core
Bob Roberts 11d47c4067 Add fallback error handling for LLM synthesis with TextNode attribute issues
Wrap synthesizer.synthesize() in try-catch to handle AttributeError gracefully
and fall back to returning raw documents when LLM synthesis fails.

This allows the chat feature to work even when there are Pydantic or llama-index
compatibility issues with TextNode attributes.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 20:12:57 -05:00
..
__init__.py first commit 2025-10-22 13:29:28 -05:00
agent_os_ingestion.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
agent_os_parser.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
config.py Add setup.sh and fix database path consistency across services 2025-10-27 20:08:32 -05:00
conversation_watcher.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
file_watcher.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
health.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
hooks.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
ingestion.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
kb_metadata.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
kb_types.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
learning_jobs.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
markdown_preprocessor.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
rag_engine.py Add fallback error handling for LLM synthesis with TextNode attribute issues 2025-10-27 20:12:57 -05:00
redis_config.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
sqlite_manager.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00