mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-08 15:22:39 +02:00
Wire Linear and Slack specialists and prompt routing.
This commit is contained in:
parent
41cb4a567b
commit
bf9b606a61
8 changed files with 53 additions and 8 deletions
|
|
@ -26,6 +26,9 @@ from .prompts.composer import (
|
|||
detect_provider_variant,
|
||||
)
|
||||
|
||||
# Optional routing fragments under ``prompts/routing/`` (see composer).
|
||||
_DEFAULT_CONNECTOR_ROUTING: tuple[str, ...] = ("linear", "slack")
|
||||
|
||||
# Public re-exports for backwards compatibility (some legacy code reads the
|
||||
# raw default-instructions text directly).
|
||||
SURFSENSE_SYSTEM_INSTRUCTIONS_TEMPLATE = (
|
||||
|
|
@ -63,6 +66,7 @@ def build_surfsense_system_prompt(
|
|||
mcp_connector_tools=mcp_connector_tools,
|
||||
citations_enabled=True,
|
||||
model_name=model_name,
|
||||
connector_routing=_DEFAULT_CONNECTOR_ROUTING,
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -93,6 +97,7 @@ def build_configurable_system_prompt(
|
|||
use_default_system_instructions=use_default_system_instructions,
|
||||
citations_enabled=citations_enabled,
|
||||
model_name=model_name,
|
||||
connector_routing=_DEFAULT_CONNECTOR_ROUTING,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue