Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect type specified #1129

Closed
1 task done
jmwilkinson opened this issue Oct 8, 2024 · 2 comments
Closed
1 task done

Incorrect type specified #1129

jmwilkinson opened this issue Oct 8, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jmwilkinson
Copy link

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

  • This is an issue with the Node library

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 jmwilkinson added the bug Something isn't working label Oct 8, 2024
@jmwilkinson
Copy link
Author

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:

.on('textDelta', (delta: RunStepDelta, snapshot: Text) => ...)

@RobertCraigie
Copy link
Collaborator

Sorry for the delayed response and thanks for the report! This will be fixed in the next release #1282

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants