fix: make mcp filter type explicit in mcp_filter demo (fixes #644)

Update the mcp_filter demo to explicitly declare `type: mcp` on each
filter definition, matching the style of the http_filter demo which
uses explicit `type: http`. This makes the configuration more readable
and self-documenting instead of relying on the implicit default.
This commit is contained in:
Octopus 2026-04-04 13:27:36 +08:00
parent 9406af3a09
commit 676d29ab8d

View file

@ -7,16 +7,13 @@ agents:
filters: filters:
- id: input_guards - id: input_guards
url: http://localhost:10500 url: http://localhost:10500
# type: mcp (default) type: mcp
# transport: streamable-http (default)
# tool: input_guards (default - same as filter id)
- id: query_rewriter - id: query_rewriter
url: http://localhost:10501 url: http://localhost:10501
# type: mcp (default) type: mcp
# transport: streamable-http (default)
# tool: query_rewriter (default - same as filter id)
- id: context_builder - id: context_builder
url: http://localhost:10502 url: http://localhost:10502
type: mcp
model_providers: model_providers:
- model: openai/gpt-4o-mini - model: openai/gpt-4o-mini