Skip to content

Commit

Permalink
Fix janhq#2040 : added /v1 path to apiBase
Browse files Browse the repository at this point in the history
  • Loading branch information
ldebs authored Feb 15, 2024
1 parent ee5a44a commit ba63c92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/guides/07-integrations/01-integrate-continue.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Edit the `config.json` file and include the following configuration.
// highlight-start
"model": "mistral-ins-7b-q4",
"apiKey": "EMPTY",
"apiBase": "http://localhost:1337"
"apiBase": "http://localhost:1337/v1"
// highlight-end
}
]
Expand All @@ -86,7 +86,7 @@ Edit the `config.json` file and include the following configuration.

- 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 `apiBase` is `http://localhost:1337`.
- Ensure that the `apiBase` is `http://localhost:1337/v1`.
- Ensure that the `apiKey` is `EMPTY`.

### 4. Ensure the Using Model Is Activated in Jan
Expand Down

0 comments on commit ba63c92

Please sign in to comment.