Skip to content

armgit / my-yt

Public Imported from GitHub
0

A clean and minimal youtube frontend, without all the ads and whistles

JavaScript

docs: specify AI_ENDPOINT for anthropic example

Christian Feicc48a55aeb90
diff --git a/README.md b/README.md
index c6d8ccb..9e51df5 100644
--- a/README.md
+++ b/README.md
@@ -93,7 +93,7 @@ AI_MODEL=gpt-4o-mini AI_HOST=https://api.openai.com AI_APIKEY=sk-proj-123 npm st
# or with docker in background using OpenAI
docker run -e AI_MODEL=gpt-4o-mini -e AI_HOST=https://api.openai.com -e AI_APIKEY=sk-proj-123 -d -p 3000:3000 -v $HOME/my-yt-data:/app/data christianfei/my-yt:latest
# or with docker in background using Anthropic
-docker run -e AI_MODEL=claude-xyz -e AI_HOST=https://api.anthropic.com -e AI_APIKEY=your-key --rm -it -p 3000:3000 -v $HOME/my-yt-data:/app/data christianfei/my-yt:latest
+docker run -e AI_MODEL=claude-xyz -e AI_HOST=https://api.anthropic.com -e AI_ENDPOINT=/v1/messages -e AI_APIKEY=your-key --rm -it -p 3000:3000 -v $HOME/my-yt-data:/app/data christianfei/my-yt:latest
```
## Environment variable to skip transcoding to h264