mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-07 14:52:39 +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",
|
"Registry subagents: %s",
|
||||||
[s["name"] for s in registry_subagents],
|
[s["name"] for s in registry_subagents],
|
||||||
)
|
)
|
||||||
except Exception as exc:
|
except Exception:
|
||||||
logging.warning("Registry subagent build failed: %s", exc)
|
logging.exception("Registry subagent build failed")
|
||||||
registry_subagents = []
|
raise
|
||||||
|
|
||||||
subagent_specs: list[SubAgent] = [general_purpose_spec, *registry_subagents]
|
subagent_specs: list[SubAgent] = [general_purpose_spec, *registry_subagents]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue