SurfSense/surfsense_backend/app/agents/new_chat
Vonic dc545f8028 fix: resolve runtime crashes in tool-ui components and backend import errors
Backend:
- Remove dead imports (display_image, link_preview, knowledge_base) from tools registry and __init__
- Delete orphaned elif chain (lines 784-1046) in knowledge_base.py left after asyncio.gather refactor
- Add missing NotionAPIError class to notion_history.py

Frontend:
- Add display-image.tsx, link-preview.tsx, scrape-webpage.tsx tool UI components
- Fix GeneratePodcastToolUI: add null guard for no-props render + optional chaining on status/args
- Fix SaveMemoryToolUI/RecallMemoryToolUI: add null guard when rendered without props in provider
- Update launch.json to use pnpm on port 3999

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 13:42:31 +07:00
..
middleware fix: guard display_name.split() against whitespace-only IndexError (recurseml feedback) 2026-04-10 15:29:56 +05:30
tools fix: resolve runtime crashes in tool-ui components and backend import errors 2026-04-14 13:42:31 +07:00
__init__.py feat: made agent file sytem optimized 2026-03-28 16:39:46 -07:00
chat_deepagent.py chore: merge upstream with local feature additions 2026-04-13 23:31:52 +07:00
checkpointer.py feat: implement connection pooling for AsyncPostgresSaver in checkpointer 2026-02-05 17:32:43 -08:00
context.py organize deepagent codebase 2025-12-20 18:35:39 +02:00
llm_config.py feat: complete MiniMax LLM provider integration 2026-03-13 07:27:47 +08:00
memory_extraction.py fix: guard display_name.split() against whitespace-only IndexError (recurseml feedback) 2026-04-10 15:29:56 +05:30
sandbox.py feat: enhance caching mechanisms to prevent memory leaks 2026-02-27 17:56:00 -08:00
system_prompt.py feat: enhance memory management protocols to enforce structured headings, utilize user first names in entries, and improve clarity in memory update rules 2026-04-10 04:51:56 +05:30
utils.py inject tools at runtime 2025-12-20 18:35:39 +02:00