mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-21 10:05:26 -04:00
Unable to use models with / in their names #114
Reference in New Issue
Block a user
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?
Originally created by @nason on GitHub (Sep 7, 2024).
I have a model hosted with sglang with a name like nason/my-model-v1, and a pipeline named my_pipeline that invokes this model
/models shows the model correctly with an id of my_pipeline.nason/my-model-v1, but requests to /my_pipeline.nason/my-model-v1/filter/inlet return a 404
I believe this is an issue (https://github.com/fastapi/fastapi/discussions/7328) with path parameters in FastAPI https://github.com/open-webui/pipelines/blob/d4fca4c37c4b8603be7797245e749e9086f35130/main.py#L588-L590
Do you have any suggestions? Are model names with / characters supported?
@tjbck commented on GitHub (Sep 7, 2024):
you're correct! ids should not contain '/' and other reserved special characters.