Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Default base url is incorrect #30

Merged
merged 1 commit into from
Jun 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Recommend -> gpt-4-turbo (Better performance, more expensive), gpt-4-o (Good performance, cheaper)

API_KEY: "" # Free API Key with GPT-4 access: https://github.com/CubeGPT/.github/discussions/1
BASE_URL: "https://api.openai.com/v1/chat/completions"
BASE_URL: "https://api.openai.com/v1"

GENERATE_MODEL: "gpt-4-turbo" # Don't use gpt-4, because this model is longer supports json modes.

Expand All @@ -22,11 +22,11 @@ VISION_MODEL: "gpt-4-vision-preview"
# Note: If you are using the free API key we provided, you can't use the advanced mode since it doesn't support dall-e-3 and gpt-4-vision-preview models.
USE_DIFFERENT_APIKEY_FOR_DALLE_MODEL: False
DALLE_API_KEY: ""
DALLE_BASE_URL: "https://api.openai.com/v1/chat/completions"
DALLE_BASE_URL: "https://api.openai.com/v1"

USE_DIFFERENT_APIKEY_FOR_VISION_MODEL: False
VISION_API_KEY: ""
VISION_BASE_URL: "https://api.openai.com/v1/chat/completions"
VISION_BASE_URL: "https://api.openai.com/v1"


########## EDIT OPTIONAL ##########
Expand Down Expand Up @@ -101,4 +101,4 @@ SYS_GEN_ADV: |

USR_GEN_ADV: |
%DESCRIPTION%
The image is attached below.
The image is attached below.
Loading