googleapis / googleapis/python-aiplatform

The interactions interface is incompatible with the Vertex AI Express mode

Ouverte
#6,966 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
api: vertex-ai
Langage dominant
Python
Étoiles
905
Forks
465
Merge moyen
1 j 13 h
PR mergées (30 j)
44

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
google-cloud, python
Domaine
api, cloud
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Calme
Clarté
À clarifier
Accessibilité débutants
48/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.