googleapis / googleapis/python-aiplatform

Support custom metadata labels for partner models on Vertex AI

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

描述

Is your feature request related to a problem? Please describe.
Vertex AI's custom metadata labels only work for Google models. We need billing labels on partner model calls (Anthropic) for cost attribution and there's no supported way to do it.

Describe the solution you'd like
Extend the existing labels field to work with partner model API calls so they appear in Cloud Billing reports.

Describe alternatives you've considered
Client-side HTTP intercept to manually track token usage, but this doesn't integrate with GCP billing dashboards.

Additional context
Labels docs: https://docs.cloud.google.com/vertex-ai/generative-ai/docs/multimodal/add-labels-to-api-calls
Community thread: https://community.latenode.com/t/adding-custom-metadata-labels-to-anthropic-model-requests-on-gcp-vertex-ai/37152/5

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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