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

Make server compatible with llama-cpp-python or llama.cpp #111

Open
tomasmcm opened this issue Sep 20, 2023 · 2 comments
Open

Make server compatible with llama-cpp-python or llama.cpp #111

tomasmcm opened this issue Sep 20, 2023 · 2 comments

Comments

@tomasmcm
Copy link
Contributor

Currently local.ai server is allowing requests on /completions. However that means it's not compatible with most apps as they are prepared to make requests to servers from llama-cpp-python (/v1/completions) or llama.cpp (/completion).

I can make a simple PR to change the endpoint in the 2 files that define it https://github.com/search?q=repo%3Alouisgv%2Flocal.ai+%2Fcompletions&type=code
Which standard do you want to adopt @louisgv ?

@louisgv
Copy link
Owner

louisgv commented Sep 20, 2023

Let's do v1/completions?

@tomasmcm
Copy link
Contributor Author

#112

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

2 participants