mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-04 05:12:38 +02:00
chore: cleaned comments slop
This commit is contained in:
parent
f23be16b35
commit
f9b5367754
34 changed files with 274 additions and 232 deletions
|
|
@ -1,9 +1,10 @@
|
|||
"""Entry-point based plugin loader for SurfSense agent middleware.
|
||||
|
||||
The realization in the Tier 6 plan: LangChain's :class:`AgentMiddleware` ABC
|
||||
already covers the practical surface most plugins need (``before_agent`` /
|
||||
``before_model`` / ``wrap_tool_call`` / their async counterparts), so a
|
||||
SurfSense-specific plugin protocol is unnecessary.
|
||||
LangChain's :class:`AgentMiddleware` ABC already covers the practical
|
||||
surface most plugins need (``before_agent`` / ``before_model`` /
|
||||
``wrap_tool_call`` / their async counterparts), so a SurfSense-specific
|
||||
plugin protocol would be redundant. We just need a way to discover and
|
||||
admit third-party middleware safely.
|
||||
|
||||
A plugin is therefore just an installable Python package that registers a
|
||||
factory callable under the ``surfsense.plugins`` entry-point group:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue