diff --git a/docs/content/models/model-endpoint.md b/docs/content/models/model-endpoint.md index b5a7832a..1ecce28f 100644 --- a/docs/content/models/model-endpoint.md +++ b/docs/content/models/model-endpoint.md @@ -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 - # ///v1/... and rewrites them to this prefix, so an - # OpenAI-compatible provider that serves /v1/... takes /v1/. - rewritePath: /v1/ + # ///v1/... and strips only the /// + # prefix, so an OpenAI-compatible provider that already serves /v1/... + # takes just /. + rewritePath: / ``` Then point a [`ModelService`]({{< ref "model-service.md" >}}) at it. Selecting diff --git a/docs/manifests/concepts/model-endpoint.yaml b/docs/manifests/concepts/model-endpoint.yaml index 8a7b9020..84529aac 100644 --- a/docs/manifests/concepts/model-endpoint.yaml +++ b/docs/manifests/concepts/model-endpoint.yaml @@ -14,4 +14,4 @@ metadata: modelplane.ai/external-provider: together spec: url: https://api.together.xyz/ - rewritePath: /v1/ + rewritePath: /