issue: api/version not found #24
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: nomyo-ai/nomyo-router#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For openai compatible endpoints, in my case vllm, each health request will trigger:
[fetch.endpoint_details] Error while contacting http://0.0.0.0:8000/v1/api/version: 404: {"detail":"Not Found"}I think the issue is that the health route is not distinguishing between ollama and openai endpoints:
tasks = [fetch.endpoint_details(ep, "/api/version", "version", skip_error_cache=True) for ep in config.endpoints] # if not is_ext_openai_endpoint(ep)]as ollama also provides a /v1 endpoint there is logic to seperate ollama endpoints and "regular" openai compatible endpoints.
it seems to not be triggered successfully in this case.
can you please provide information how you configured the vllm endpoint in config?
It will help debugging.
many thanks.
refactored code should work now for all endpoints reliably.
feel free to re-open if it doesn't work with your specific config.
thanks for reporting this @JTHesse - highly appreaciated!