From ce67c282b969a889c9f3dcdb8da07d8e4dfa307c Mon Sep 17 00:00:00 2001 From: CREDO23 Date: Wed, 24 Jun 2026 21:42:17 +0200 Subject: [PATCH] references: package surface --- .../agents/chat/runtime/references/__init__.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 surfsense_backend/app/agents/chat/runtime/references/__init__.py diff --git a/surfsense_backend/app/agents/chat/runtime/references/__init__.py b/surfsense_backend/app/agents/chat/runtime/references/__init__.py new file mode 100644 index 000000000..dcff46441 --- /dev/null +++ b/surfsense_backend/app/agents/chat/runtime/references/__init__.py @@ -0,0 +1,16 @@ +"""Resolved ``@``-references and their pointer block. + +References are scope, not content: they tell the model what the user pointed +at this turn so it can retrieve from those sources with tools. +""" + +from __future__ import annotations + +from .models import ReferenceKind, ResolvedReference +from .reference_pointers import render_reference_pointers + +__all__ = [ + "ReferenceKind", + "ResolvedReference", + "render_reference_pointers", +]