googleapis / googleapis/python-genai

mcp in Interactions API doesnt work.

Aperta
#2,126 4 commenti 0 reazioni 1 assegnatario Rivendicata da @Venkaiahbabuneelam Vedi su GitHub
priority: p2 type: bug
Lingua principale
Python
Stelle
4k
Fork
1k
Merge medio
2g 12h
PR unite (30g)
41

Descrizione

#### 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

1. create a client
2. run the code below

```python
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'}}
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.