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

[AI-32] Add option for custom OpenAI-compatible endpoint #1

Merged
merged 5 commits into from
Aug 2, 2024

Conversation

betschki
Copy link
Collaborator

This adds the a new input field in the API settings for an OpenAI-compatible base URI, which will allow us to use open source models hosted on our own infrastructure.

What should be noted is that there are hard-coded values in some files, which are a workaround to avoid bigger refactoring, which is currently out of scope for our ticket.

src/lib/Home.svelte Show resolved Hide resolved
src/lib/Models.svelte Show resolved Hide resolved
src/lib/Models.svelte Show resolved Hide resolved
src/lib/Storage.svelte Outdated Show resolved Hide resolved
src/lib/Settings.svelte Outdated Show resolved Hide resolved
src/lib/providers/openai/models.svelte Show resolved Hide resolved
@betschki
Copy link
Collaborator Author

@timlohse1104 made the changes you requested – please have another final look before merging :)

@betschki betschki merged commit efacb3b into main Aug 2, 2024
@timlohse1104 timlohse1104 deleted the issue/ai-32 branch August 2, 2024 10:44
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 this pull request may close these issues.

2 participants