openai-node
openai-node copied to clipboard
req header user-agent is not a normal value in safari
Confirm this is a Node library issue and not an underlying OpenAI API issue
- [x] This is an issue with the Node library
Describe the bug
use safari , in chat/completions API , the header User-Agent is D/JS 4.104.0,
then it spawn a error : Request header field User-Agent is not allowed by Access-CControl-Allow-Headers
To Reproduce
write something , and fetch chat/completions
Code snippets
OS
macOS
Node version
Node v22.16.0
Library version
4.104.0