fix: redirect print() to stderr for stdio MCP transport
print() statements to stdout were corrupting the JSON-RPC protocol when using stdio transport, causing "connection closed: initialize response" error. All diagnostic messages now go to stderr. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,10 @@ model_provider = "litellm"
|
||||
# model = "anthropic/claude-sonnet-4-5-20250929"
|
||||
model = "hosted_vllm/meta-llama/Llama-3.1-8B-Instruct"
|
||||
|
||||
# Override litellm provider to set max_tokens
|
||||
[model_providers.litellm]
|
||||
max_tokens = 8192
|
||||
|
||||
[projects."/home/valknar"]
|
||||
trust_level = "trusted"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user