-
Notifications
You must be signed in to change notification settings - Fork 788
Open
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Environment details
- Programming language: Python
- OS: Linux in Colab and Windows 11
- Language runtime version: 3.13
- Package version: 1.65.0
Steps to reproduce
- create a client
- run the code below
interaction = client.interactions.create(
model="gemini-2.5-flash",
input="what's the weather in Taipei?",
tools = [{
"type": "mcp_server",
"name": "weather_service",
"url": "https://gemini-api-demos.uc.r.appspot.com/mcp"
}]
)this get the following error
InternalServerError: Error code: 500 - {'error': {'message': 'Internal server error', 'code': 'api_error'}}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.