fix(agent): keep explicit skills out of system prompt

This commit is contained in:
chengyongru authored and chengyongru committed 2026-08-19 18:40:20 +08:00
1 parent ff674144d6
commit 8a2aa0821b
4 files changed
+63 -23

No files matched your search

+4 -1
View File
@@ -797,7 +797,10 @@ class AgentLoop:
]
blocks = runtime_context_blocks_from_metadata(request.metadata)
blocks.extend(await resolve_runtime_context(providers, request))
return blocks
return self.context.build_runtime_context_blocks(
request.original_user_text or "",
blocks,
)
async def _dispatch_command_inline(
self,