openai-node
openai-node copied to clipboard
Bugfix for iterPages
During check of nextPage existence the field "has_more" might be used (gotten at body). Without it, iteration of, say all thread messages list brings to infinite loop. Body field has unknown type (might be also detailed), so I used cast to "any" to skip linter/ts issues.
- [x] I understand that this repository is auto-generated and my pull request may not be merged