openai-node
openai-node copied to clipboard
metadata should be typed as Record<string, string>
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
The generated types for metadata field is always unknown
This makes it weird to work with:
A better type would be Record<string, string>
To Reproduce
Install openai 4.61.1
Code snippets
No response
OS
linux
Node version
20
Library version
4.61.1