Skip to content

Conversation

@frascuchon
Copy link

When calling a configured Gradio MCP server tool that has audio references (URLs), the tool call constantly fails due to an input format issue. This PR handles audio inputs to allow calling remote Gradio MCP tools with referred audio URLs (direct audio file uploading is not implemented)

Additionally, this PR allows configuring the default MCP tool timeout by environment variable.

@gary149
Copy link
Collaborator

gary149 commented Dec 5, 2025

Did you try locally? because for audio upload to work a model needs to be configured with audio MIME types which is not the case today.

@frascuchon
Copy link
Author

Hi. Yes, I've tried locally. This PR attempts to address only the issue that occurs when calling an MPC tool with an audio file URL. Currently, the tool call is failing due to an unexpected input format. I did not work with multi-modal models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants