Skip to content

add support restapi /models endpoint #102

Open
@zspitzer

Description

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
  }
}

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions