Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/content/models/model-endpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ spec:
# 2. The provider's base URL.
url: https://api.together.xyz/
# 3. The path to rewrite requests to. A ModelService receives requests at
# /<namespace>/<service>/v1/... and rewrites them to this prefix, so an
# OpenAI-compatible provider that serves /v1/... takes /v1/.
rewritePath: /v1/
# /<namespace>/<service>/v1/... and strips only the /<namespace>/<service>/
# prefix, so an OpenAI-compatible provider that already serves /v1/...
# takes just /.
rewritePath: /
```

Then point a [`ModelService`]({{< ref "model-service.md" >}}) at it. Selecting
Expand Down
2 changes: 1 addition & 1 deletion docs/manifests/concepts/model-endpoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ metadata:
modelplane.ai/external-provider: together
spec:
url: https://api.together.xyz/
rewritePath: /v1/
rewritePath: /
Loading