diff --git a/src/agents/deep_agent/context.py b/src/agents/deep_agent/context.py index 34e957cf..b496dfcb 100644 --- a/src/agents/deep_agent/context.py +++ b/src/agents/deep_agent/context.py @@ -99,10 +99,11 @@ class DeepContext(BaseContext): """ # 深度分析专用的系统提示词 - system_prompt: str = field( + system_prompt: Annotated[str, {"__template_metadata__": {"kind": "prompt"}}] = field( default=DEEP_PROMPT, metadata={"name": "系统提示词", "description": "Deep智能体的角色和行为指导"}, ) + subagents_model: Annotated[str, {"__template_metadata__": {"kind": "llm"}}] = field( default="siliconflow/deepseek-ai/DeepSeek-V3.2", metadata={ diff --git a/web/src/components/AgentConfigSidebar.vue b/web/src/components/AgentConfigSidebar.vue index 1ed13cea..2ae7fbe6 100644 --- a/web/src/components/AgentConfigSidebar.vue +++ b/web/src/components/AgentConfigSidebar.vue @@ -879,7 +879,8 @@ const confirmDeleteConfig = async () => { resize: vertical; background: var(--gray-50); border: 1px solid var(--gray-200); - padding: 8px 12px; + padding: 6px 10px; + font-size: 12px; &:focus { outline: none; @@ -911,8 +912,9 @@ const confirmDeleteConfig = async () => { word-break: break-word; line-height: 1.5; color: var(--gray-900); - font-size: 14px; - // min-height: 100px; + font-size: 12px; + max-height: 500px; + overflow: scroll; &.is-placeholder { color: var(--gray-400);