mirror of
https://github.com/mudler/LocalAI.git
synced 2024-06-07 19:40:48 +00:00
Update README to reflect changes in Continue's config file (#1014)
**Description**
OpenAIServerInfo no longer exists, and api_base has been moved up.
Changes were made here
8967e2d53f (diff-98e147eaa7c9936befdddabb16c72447fbf8ad2df6b680c5176c24813169858e)
Signed-off-by: Robert Deaton <rdeaton@platipy.org>
This commit is contained in:
parent
ee59e7d45f
commit
2454110d81
@ -28,7 +28,7 @@ For a live demonstration, please click on the link below:
|
|||||||
3. Type `/config` within Continue's VSCode extension, or edit the file located at `~/.continue/config.py` on your system with the following configuration:
|
3. Type `/config` within Continue's VSCode extension, or edit the file located at `~/.continue/config.py` on your system with the following configuration:
|
||||||
|
|
||||||
```py
|
```py
|
||||||
from continuedev.src.continuedev.libs.llm.openai import OpenAI, OpenAIServerInfo
|
from continuedev.src.continuedev.libs.llm.openai import OpenAI
|
||||||
|
|
||||||
config = ContinueConfig(
|
config = ContinueConfig(
|
||||||
...
|
...
|
||||||
@ -36,10 +36,7 @@ For a live demonstration, please click on the link below:
|
|||||||
default=OpenAI(
|
default=OpenAI(
|
||||||
api_key="my-api-key",
|
api_key="my-api-key",
|
||||||
model="gpt-3.5-turbo",
|
model="gpt-3.5-turbo",
|
||||||
openai_server_info=OpenAIServerInfo(
|
api_base="http://localhost:8080",
|
||||||
api_base="http://localhost:8080",
|
|
||||||
model="gpt-3.5-turbo"
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user