-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Unable to change server endpoint #589
Copy link
Copy link
Closed
Labels
area:configurationRelates to configuration optionsRelates to configuration optionside:vscodeRelates specifically to VS Code extensionRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior
Metadata
Metadata
Assignees
Labels
area:configurationRelates to configuration optionsRelates to configuration optionside:vscodeRelates specifically to VS Code extensionRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior
Type
Fields
Give feedbackNo fields configured for issues without a type.
Before submitting your bug report
Relevant environment info
Description
Unable to change endpoint using python-cpp-llama server which runs on localhost:8000/v1 not localhost:8000.
If I change manually either in OpenAI class or CPP class in config.py, it doesn't change anything.
Reloading server or IDE doesn't solve.
Verified that it sends requests to localhost:8000/completions.
Expected: request sent to localhost:8000/v1/completions.
Also the error message is wrong (says it sends a request to chat/completions but really sends to /completions)
To reproduce
No response
Log output