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

llamafiler chatbot.js doesn't use url_prefix #648

Open
ajbouh opened this issue Dec 2, 2024 · 1 comment
Open

llamafiler chatbot.js doesn't use url_prefix #648

ajbouh opened this issue Dec 2, 2024 · 1 comment

Comments

@ajbouh
Copy link

ajbouh commented Dec 2, 2024

const response = await fetch("/v1/chat/completions", {

The current implementation seems to hardcode "/v1/chat/complations". Compare this to the more parameterized one in completion.js:

const props = await fetch(`${url_prefix}/props`).then(r => r.json());

@ajbouh ajbouh changed the title llamafiler chatbot.js should use url_prefix llamafiler chatbot.js doesn't use url_prefix Dec 2, 2024
@sizvix
Copy link

sizvix commented Dec 4, 2024

And there is some correction todo on url_prefix ( #641 )

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