googleapis / googleapis/python-aiplatform

api_endpoint in `snippets` methods can be reconstructed from the `location` argument.

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

描述

As per the title, `api_endpoint` can be reconstructed from the `location` argument. This led to problems because if the model is deployed elsewhere the requests fail. Additionally, the `api_endpoint` meaning is a bit opaque since a user could assume that everything should work even if `location` and `api_endpoint` point to different regions (i.e. the endpoint is just a gateway).

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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