mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-06 14:22:47 +02:00
Fail loud on registry subagent build error.
This commit is contained in:
parent
6a9433c8ff
commit
9e35cdaec7
1 changed files with 3 additions and 3 deletions
|
|
@ -234,9 +234,9 @@ def build_main_agent_deepagent_middleware(
|
|||
"Registry subagents: %s",
|
||||
[s["name"] for s in registry_subagents],
|
||||
)
|
||||
except Exception as exc:
|
||||
logging.warning("Registry subagent build failed: %s", exc)
|
||||
registry_subagents = []
|
||||
except Exception:
|
||||
logging.exception("Registry subagent build failed")
|
||||
raise
|
||||
|
||||
subagent_specs: list[SubAgent] = [general_purpose_spec, *registry_subagents]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue