googleapis / googleapis/python-aiplatform

The interactions interface is incompatible with the Vertex AI Express mode

Aperta
#6,966 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
api: vertex-ai
Lingua principale
Python
Stelle
905
Fork
465
Merge medio
1g 13h
PR unite (30g)
44

Descrizione

The interactions (NextGen) interface is incompatible with the Vertex AI Express mode (API Key authentication).

When using Express mode, the client initializer enforces a mutual exclusion between the API key and the project/location parameters. Because the project and location are missing, the SDK fails to construct the required Vertex AI resource path (/v1beta1/projects/{project}/locations/{location}/interactions). Instead, it falls back to a default path (/v1beta1/interactions) on the Gemini Developer API server, which does not exist and results in a 404 Not Found error.

To use the interactions interface, you must use the standard GCP Credentials authentication mode by providing a project, location, and valid Google Cloud credentials.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Reproduce the interactions interface with Vertex AI Express mode and API-key authentication, then inspect the client initializer and resource-path construction described in the report. Done means the Express-mode configuration reaches the required project/location-based Vertex AI interactions path instead of the default Gemini Developer API path that returns 404.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
google-cloud, python
Ambito
api, cloud
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Da chiarire
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.