Repository navigation
TypeError: AsyncOpenAI.__init__() got an unexpected keyword argument 'extra_headers' #190
Replies: 1 comment
|
For the stack trace you posted, change the client-level keyword from BUB_CLIENT_ARGS='{"default_headers":{"HTTP-Referer":"https://openclaw.ai","X-Title":"OpenClaw"}}'Restart the Bub process after changing
I reproduced the exact constructor error with |
Uh oh!
There was an error while loading. Please reload this page.
I met a problem running bub locally. I follow the instructions on https://bub.build/docs/getting-started/run-bub-locally/ with changes on .env (BUB_CLIENT_ARGS={"extra_headers":{"HTTP-Referer":"https://openclaw.ai","X-Title":"OpenClaw"}}). When I use bub by
uv run bub chat, it responses withIs there anything wrong with my config? How can I fix it?
All reactions