openai / openai-node

The official Node.js / Typescript library for the OpenAI API
https://www.npmjs.com/package/openai
Apache License 2.0
7.89k stars 854 forks source link

Incorrect type specified #1129

Open jmwilkinson opened 3 weeks ago

jmwilkinson commented 3 weeks ago

Confirm this is a Node library issue and not an underlying OpenAI API issue

Describe the bug

RunStepDelta should be documented in example as TextDelta

To Reproduce

  1. Review TypeScipt definition of textDelta event vs documented use

Code snippets

No response

OS

macOS

Node version

20

Library version

4.67.3

jmwilkinson commented 3 weeks ago

I used the GitLab "create issue from line" option but it appears that was not done properly, so here is the line I am referencing: https://github.com/openai/openai-node/blob/3c326626c1035d43ee184cedc9084a7d399331df/helpers.md?plain=1#L229