Skip to content

Allow the OpenAI API BASE_URL to be overridden #99

@chris-hatton

Description

@chris-hatton

Projects such as LocalAI emulate the OpenAI API's.

To enable the use of YChat with such services, it's necessary to allow for the host (and maybe port) to be overridden when creating a YChat instance.

For example:

val ychat = YChat.create(apiKey = "<api key>", host = "127.0.0.1", port = 8080)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions