anthropics / anthropics/anthropic-sdk-python

Asynchronous identity_token_provider to WorkloadIdentityCredentials

未关闭
#1,901 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
3.9k
派生
853
平均合并
1 天 18 小时
30 天内合并 PR
11

描述

I have an asynchronous application which uses Workload Identity Federation within AWS to communicate with the Anthropic API. The identity_token_provider function I provide to WorkloadIdentityCredentials needs to make a network call to the AWS STS to get a token. I would like to be able to provide an async function so that I can make that call in a way that is compatible with how the rest of my app works. That does not appear to be supported currently.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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