Skip to content

Commit b56e173

Browse files
committed
Update agent_definition.py
1 parent bcb0186 commit b56e173

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sgr_deep_research/core/agent_definition.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ def default_config_override_validator(cls, data):
142142
if GlobalConfig().search
143143
else None
144144
)
145+
data["prompts"] = GlobalConfig().prompts.model_copy(update=data.get("prompts", {})).model_dump()
145146
data["execution"] = GlobalConfig().execution.model_copy(update=data.get("execution", {})).model_dump()
147+
data["mcp"] = GlobalConfig().mcp.model_copy(update=data.get("mcp", {})).model_dump(warnings=False)
146148
return data
147149

148150
@model_validator(mode="after")

0 commit comments

Comments
 (0)