Skip to content

Commit 3d83288

Browse files
committed
ci: fix frontend rehype-raw dependency and tighten API key placeholder docs
1 parent 9510488 commit 3d83288

3 files changed

Lines changed: 171 additions & 2 deletions

File tree

docs/developer/scalytics-api-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ The Scalytics API provides a `POST /v1/chat/completions` endpoint that mirrors t
3434
Authenticate your API requests by providing your generated Scalytics API key as a Bearer token in the `Authorization` header:
3535

3636
```
37-
Authorization: Bearer sk-scalytics-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
37+
Authorization: Bearer YOUR_SCALYTICS_API_KEY
3838
```
3939

40-
Replace `sk-scalytics-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx` with your actual key.
40+
Replace `YOUR_SCALYTICS_API_KEY` with your actual key.
4141

4242
## Endpoint: Chat Completions
4343

frontend/package-lock.json

Lines changed: 168 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"react-toastify": "^11.0.5",
2727
"react-tooltip": "^5.30.0",
2828
"react-use-websocket": "^4.13.0",
29+
"rehype-raw": "^7.0.0",
2930
"remark-gfm": "^4.0.1",
3031
"tailwindcss": "^3.4.19",
3132
"web-vitals": "^2.1.4"

0 commit comments

Comments
 (0)