fixed a bug
This commit is contained in:
@@ -68,7 +68,9 @@ requests use `X-Client-Key` when `CLIENT_API_KEY` is configured.
|
||||
|
||||
## AI Sentence Explanation
|
||||
|
||||
Configure an OpenAI-compatible chat-completions endpoint in `sentence_api/.env`:
|
||||
Configure an OpenAI-compatible chat-completions endpoint in `sentence_api/.env`.
|
||||
A base URL ending in `/v1` is also accepted and is resolved to
|
||||
`/v1/chat/completions`:
|
||||
|
||||
```dotenv
|
||||
AI_API_URL=https://api.example.com/v1/chat/completions
|
||||
|
||||
Reference in New Issue
Block a user