Files
agent-zero/tests
linuztx 449e6249dc Keep MCP server text from acting as prompt template syntax
Prompt rendering substitutes placeholder values before it expands
{{ include '...' }} directives. An MCP tool description containing an
include could therefore read repository-relative files such as usr/.env
into the system prompt, and a description containing {{input_schema}}
could capture a later placeholder.

Split every {{ in the server- and config-supplied values passed to the
MCP prompt templates (tool names, descriptions, JSON schemas and server
descriptions) before rendering. Add regression tests that cover the Chat
prompt and the Responses replacement.
2026-11-26 04:33:05 +00:00
..
2026-03-05 17:28:11 +01:00