Fix #2040 : added /v1 path to apiBase

This commit is contained in:
ldebs 2024-02-15 18:32:55 +01:00 committed by GitHub
parent ee5a44a799
commit ba63c92ed9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,7 +77,7 @@ Edit the `config.json` file and include the following configuration.
// highlight-start // highlight-start
"model": "mistral-ins-7b-q4", "model": "mistral-ins-7b-q4",
"apiKey": "EMPTY", "apiKey": "EMPTY",
"apiBase": "http://localhost:1337" "apiBase": "http://localhost:1337/v1"
// highlight-end // highlight-end
} }
] ]
@ -86,7 +86,7 @@ Edit the `config.json` file and include the following configuration.
- Ensure that the `provider` is `openai`. - Ensure that the `provider` is `openai`.
- Ensure that the `model` is the same as the one you enabled in the Jan API Server. - Ensure that the `model` is the same as the one you enabled in the Jan API Server.
- Ensure that the `apiBase` is `http://localhost:1337`. - Ensure that the `apiBase` is `http://localhost:1337/v1`.
- Ensure that the `apiKey` is `EMPTY`. - Ensure that the `apiKey` is `EMPTY`.
### 4. Ensure the Using Model Is Activated in Jan ### 4. Ensure the Using Model Is Activated in Jan