SurfSense/surfsense_backend/app/agents/new_chat
CREDO23 d4e2ebb99f fix(hitl): rollback on KB delete failure, tighten linear tool guards
- delete_linear_issue + delete_notion_page: add db_session.rollback()
  in the KB document deletion exception handler so the session is never
  left in a PendingRollbackError state after a failed commit, which
  would otherwise break all subsequent DB operations in the same request
- delete_linear_issue: include issue identifier (e.g. ENG-42) in the
  success message so the caller can confirm which issue was archived
- update_linear_issue: remove redundant label_ids ternary
  (x if x is not None else None -> x)
- create_linear_issue: add logger.error on empty-title guard for parity
  with the equivalent Notion tool
2026-02-19 16:27:02 +02:00
..
tools fix(hitl): rollback on KB delete failure, tighten linear tool guards 2026-02-19 16:27:02 +02:00
__init__.py feat: migrated to surfsense deep agent 2025-12-23 01:16:25 -08:00
chat_deepagent.py feat(linear): disable linear tools when no connector, handle in streaming 2026-02-18 18:49:03 +02: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 Merge remote-tracking branch 'upstream/dev' into feat/sur-159 2026-02-11 03:47:51 +05:30
system_prompt.py feat: enhance system prompts to specify LaTeX notation for mathematical expressions 2026-02-14 14:28:47 +05:30
utils.py inject tools at runtime 2025-12-20 18:35:39 +02:00