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

add support restapi /models endpoint #102

Open
zspitzer opened this issue Oct 29, 2024 · 0 comments
Open

add support restapi /models endpoint #102

zspitzer opened this issue Oct 29, 2024 · 0 comments

Comments

@zspitzer
Copy link

RESTAPI http://localhost:8080/models isn't supported yet

currently returns

Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.

Tue Oct 29 12:05:44 CET 2024
There was an unexpected error (type=Not Found, status=404).

I believe the api is meant to always return a json error, as client libaries expect that?

https://api.openai.com/v1/models returns

{
  error: {
    message: "Missing bearer authentication in header",
    type: "invalid_request_error",
    param: null,
    code: null
  }
}
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

No branches or pull requests

1 participant