Unable to use models with / in their names #114

Closed
opened 2026-02-15 19:16:00 -05:00 by yindo · 1 comment
Owner

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?

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?
yindo closed this issue 2026-02-15 19:16:00 -05:00
Author
Owner

@tjbck commented on GitHub (Sep 7, 2024):

you're correct! ids should not contain '/' and other reserved special characters.

@tjbck commented on GitHub (Sep 7, 2024): you're correct! ids should not contain '/' and other reserved special characters.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/pipelines#114