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:
Robert Deaton 2023-09-07 07:29:07 -07:00 committed by GitHub
parent ee59e7d45f
commit 2454110d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"
)
) )
), ),
) )