Skip to content

Commit 0bb0713

Browse files
Update SKILL.md to use placeholder values for dstack token and model name in API example
1 parent 6baf688 commit 0bb0713

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

skills/dstack/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ resources:
224224
- Example (with gateway):
225225
```bash
226226
curl -sS -X POST "https://<run name>.<gateway domain>/v1/chat/completions" \
227-
-H "Authorization: Bearer $DSTACK_TOKEN" \
227+
-H "Authorization: Bearer <dstack token>" \
228228
-H "Content-Type: application/json" \
229-
-d '{"model":"<model-id>","messages":[{"role":"user","content":"Hello"}],"max_tokens":64}'
229+
-d '{"model":"<model name>","messages":[{"role":"user","content":"Hello"}],"max_tokens":64}'
230230
231231
[Concept documentation](https://dstack.ai/docs/concepts/services.md) | [Configuration reference](https://dstack.ai/docs/reference/dstack.yml/service.md)
232232

0 commit comments

Comments
 (0)