Fix #2040 : added /v1 path to apiBase
This commit is contained in:
parent
ee5a44a799
commit
ba63c92ed9
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user