Skip to content

Commit 9db55cb

Browse files
committed
fix: correct remaining DATABRICKS_SERVING_ENDPOINT references
- Rename display string in dev-playground serving route - Fix wrongly renamed DATABRICKS_SERVING_ENDPOINT_CLASSIFIER in docs Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
1 parent 202fa88 commit 9db55cb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/dev-playground/client/src/routes/serving.route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function ServingRoute() {
7878
<p className="text-muted-foreground mt-2">
7979
Chat with a Databricks Model Serving endpoint. Set{" "}
8080
<code className="text-sm bg-muted px-1 rounded">
81-
DATABRICKS_SERVING_ENDPOINT
81+
DATABRICKS_SERVING_ENDPOINT_NAME
8282
</code>{" "}
8383
to enable.
8484
</p>

docs/docs/plugins/serving.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Endpoint aliases let you reference multiple serving endpoints by name:
4343
serving({
4444
endpoints: {
4545
llm: { env: "DATABRICKS_SERVING_ENDPOINT_NAME" },
46-
classifier: { env: "DATABRICKS_SERVING_ENDPOINT_NAME_CLASSIFIER" },
46+
classifier: { env: "DATABRICKS_SERVING_ENDPOINT_CLASSIFIER" },
4747
},
4848
})
4949
```
@@ -90,7 +90,7 @@ Endpoints that don't define a streaming response schema in their OpenAPI spec wi
9090
|----------|-------------|
9191
| `DATABRICKS_SERVING_ENDPOINT_NAME` | Default endpoint name (used when `endpoints` config is omitted) |
9292

93-
When using named endpoints, define a custom environment variable per alias (e.g. `DATABRICKS_SERVING_ENDPOINT_NAME_CLASSIFIER`).
93+
When using named endpoints, define a custom environment variable per alias (e.g. `DATABRICKS_SERVING_ENDPOINT_CLASSIFIER`).
9494

9595
## Execution context
9696

0 commit comments

Comments
 (0)