-
Notifications
You must be signed in to change notification settings - Fork 18
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
New version breaks base_url (edge case) #90
Comments
Hi @jami3f, Thanks for reaching out, we on it and will update you as soon as it's fixed. |
I have the same problem. |
Hi, The issue is fixed in yesterdays package release: 0.2.2, let me know if issue persists. |
Nope. If I do:
I get some error that indicates it's using
|
I believe the additional necessary portions of the path get removed. In @renambot's case |
Yes, I would recommend either:
LINE 142 in _common.py # Keep the path and add it to '/v1'
v = urlunparse(
(parsed.scheme, parsed.netloc, parsed.path + "/v1", None, None, None)
) |
Still in v0.3.1 |
Hi,
I am using a self hosted NIM behind a reverse proxy, meaning to access the LLM, I use the following base URL:
http://{host}/llm/v1
.When using ChatNVIDIA, using this base URL worked until version 0.2.1, where the URL is now expected to have no trailing path.
The error is as follows:
Base URL path is not recognized. Expected format is: http://host:port (type=value_error)
.In my case, it is not possible to use this format.
For clarity's sake, my code looks like the following:
The error originates from _common.py, line 147, after the validation fails.
The text was updated successfully, but these errors were encountered: