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

Error when using the /models API endpoint #249

Closed
triathematician opened this issue Nov 4, 2023 · 1 comment · Fixed by #251
Closed

Error when using the /models API endpoint #249

triathematician opened this issue Nov 4, 2023 · 1 comment · Fixed by #251

Comments

@triathematician
Copy link

Description

It appears there is an API change that breaks the /models API call, started on 11/4/2023.

See https://community.openai.com/t/missing-permission-inside-model-response/470014/2

Stack trace:

com.aallam.openai.api.exception.OpenAIHttpException: Illegal input: Field 'permission' is required for type with serial name 'com.aallam.openai.api.model.Model', but it was missing at path: $.data[0]
	at openai.client.jvm@3.5.0/com.aallam.openai.client.internal.http.HttpTransport.handleException(HttpTransport.kt:52)
@aallam
Copy link
Owner

aallam commented Nov 5, 2023

Thank you for reporting this! Fixed with release 3.5.1 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants