You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change cache-miss log to Warning, gate to HTTP transport only
Log a Warning (instead of Debug) when a tools/call request has no
cached tool definition, but only for StreamableHttpClientSessionTransport
where Mcp-Param-* headers are relevant. Pipe/stdio transports do not
emit this warning since headers do not apply.
Added tests:
- Pipe transport: cache miss does NOT log a warning
- HTTP transport: cache miss DOES log a warning
[LoggerMessage(Level=LogLevel.Debug,Message="Tool '{ToolName}' not found in cache during tools/call. Mcp-Param-* headers will not be sent. Call AddKnownTools or ListToolsAsync to populate the cache.")]
796
+
[LoggerMessage(Level=LogLevel.Warning,Message="Tool '{ToolName}' not found in cache during tools/call. Mcp-Param-* headers will not be sent. Call AddKnownTools or ListToolsAsync to populate the cache.")]
0 commit comments