Skip to content

Issue when using the proxy with MCP server #1

Description

@adrianharabula

I just succesfully connected to an e2ee model on Venice via this proxy server. Many thanks for the code so far!

Here is an issue I've encountered:

Environment / Setup

  • Model: e2ee-qwen3-6-35b-a3b
  • Tools: OpenCode & MCP using OpenAPI endpoint attached via this proxy

Steps to Reproduce

When sending a prompt that triggers a tool or code execution, the model returns raw code blocks like this:

<tool_code>
print(globals().get('gmail_search_messages', 'Not found'))
</tool_code>

Expected Behavior

The proxy should correctly intercept, parse, or handle the model's tool/code calls, or the model should execute the code via MCP rather than printing the raw XML wrapper to the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions