ewnewq commited on
Commit
d9840f1
·
verified ·
1 Parent(s): d343fed

Update config/config.yaml

Browse files
Files changed (1) hide show
  1. config/config.yaml +6 -2
config/config.yaml CHANGED
@@ -8,10 +8,14 @@
8
  ## The official OPENAI_BASE_URL is https://api.openai.com/v1
9
  ## If the official OPENAI_BASE_URL is not available, we recommend using the [openai-forward](https://github.com/beidongjiedeguang/openai-forward).
10
  ## Or, you can configure OPENAI_PROXY to access official OPENAI_BASE_URL.
11
- OPENAI_BASE_URL: "https://api.openai.com/v1"
 
12
  #OPENAI_PROXY: "http://127.0.0.1:8118"
13
  #OPENAI_API_KEY: "YOUR_API_KEY" # set the value to sk-xxx if you host the openai interface for open llm model
14
- OPENAI_API_MODEL: "gpt-4-1106-preview"
 
 
 
15
  MAX_TOKENS: 4096
16
  RPM: 10
17
 
 
8
  ## The official OPENAI_BASE_URL is https://api.openai.com/v1
9
  ## If the official OPENAI_BASE_URL is not available, we recommend using the [openai-forward](https://github.com/beidongjiedeguang/openai-forward).
10
  ## Or, you can configure OPENAI_PROXY to access official OPENAI_BASE_URL.
11
+ # OPENAI_BASE_URL: "https://api.openai.com/v1"
12
+ OPENAI_BASE_URL: "https://openrouter.ai/api/v1"
13
  #OPENAI_PROXY: "http://127.0.0.1:8118"
14
  #OPENAI_API_KEY: "YOUR_API_KEY" # set the value to sk-xxx if you host the openai interface for open llm model
15
+ OPENAI_API_KEY: "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"
16
+ # set the value to sk-xxx if you host the openai interface for open llm model
17
+ OPENAI_API_MODEL: "gpt-4"
18
+ # OPENAI_API_MODEL: "gpt-4-1106-preview"
19
  MAX_TOKENS: 4096
20
  RPM: 10
21