Open fulyaec opened 2 weeks ago
Bot detected the issue body's language is not English, translate it automatically.
Title: [Feature Request]: Add environment variable auth_token_prefix
Can you add an environment variable auth_token_prefix to control whether the prefix is 'Bearer' or something else during authentication. Currently, the prefix of some agents is empty and cannot be specified manually. It can only be achieved by modifying the source code.
Add an environment variable auth_token_prefix, the default is 'Bearer'
No response
No response
Problem Description
能不能添加一个环境变量 auth_token_prefix,控制认证的时候前缀是为 'Bearer '还是其他。目前有些代理的前缀为空,又无法手动指定,只能修改源码来实现。
Solution Description
添加一个环境变量auth_token_prefix,默认是'Bearer '
Alternatives Considered
No response
Additional Context
No response