googleapis / googleapis/python-aiplatform

The interactions interface is incompatible with the Vertex AI Express mode

未关闭
#6,966 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
api: vertex-ai
主要语言
Python
星标
905
派生
465
平均合并
1 天 13 小时
30 天内合并 PR
44

描述

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.

贡献指南

打开贡献指南

调研方向

使用 Vertex AI Express mode 和 API-key authentication 重现 Interactions 接口,然后检查报告中描述的客户端初始化器和资源路径构造。完成的标准是:Express mode 配置能够到达所需的基于项目/位置的 Vertex AI interactions 路径,而不是返回 404 的默认 Gemini Developer API 路径。

由索引模型根据 Issue 内容生成。

评估

技术栈
google-cloud, python
领域
api, cloud
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。