Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qwen-agent 在使用有token的大模型服务时,如何把这个token加到header中 #445

Open
zhixieqingwu opened this issue Jan 24, 2025 · 0 comments

Comments

@zhixieqingwu
Copy link

qwen-agent 在使用有token作为表头的大模型服务时,如何把这个token加到header中,我按截图这么放,bot.run()返回空数组。
比如在
for res in bot.run(messages,):
print(res)
res的结果直接就是[]空数组

但使用表头没有token的大模型服务时是能正常输出的,不知道具体是哪的问题,该怎么改?
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant