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

Bug Report: Typo in TypeScript Declaration #440

Closed
1 task done
Maik0909 opened this issue Nov 7, 2023 · 2 comments
Closed
1 task done

Bug Report: Typo in TypeScript Declaration #440

Maik0909 opened this issue Nov 7, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Maik0909
Copy link

Maik0909 commented Nov 7, 2023

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

Description:
There's a typo in the AssistantToolsRetrieval interface of the AssistantCreateParams namespace. The property type is misspelled as 'retreival' instead of the correct 'retrieval'.

Impact:
The typo may cause TypeScript errors and misconfigurations in the codebase.

Fix:
Correct the spelling to 'retrieval' in the interface definition.

To Reproduce

  1. Navigate to the AssistantCreateParams namespace in the TypeScript declaration file.
  2. Observe the incorrect spelling of the type property within the AssistantToolsRetrieval interface.

Code snippets

No response

OS

macOS

Node version

20.9.0

Library version

4.16.0

@Maik0909 Maik0909 added the bug Something isn't working label Nov 7, 2023
@rattrayalex
Copy link
Collaborator

This has been fixed and released.

@Maik0909
Copy link
Author

Maik0909 commented Nov 7, 2023

👍

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