Skip to content

Commit

Permalink
fix: fix OPENAI_API_KEY typo
Browse files Browse the repository at this point in the history
  • Loading branch information
KenyonY committed Mar 7, 2024
1 parent 468a14f commit 8322a46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ DEFAULT_REQUEST_CACHING_VALUE=false

FORWARD_CONFIG=[{"base_url":"https://api.openai.com","route":"/","type":"openai"}]

#OPENAI_API_KEY={"sk-xxx": 0, "sk-xxx": 1, "sk-xxx": 2}
#FORWARD_KEY={"fk-0": 0, "fk-1": 1, "fk-2": 2}
#LEVEL_MODELS={"1": ["gpt-4"], "2": ["gpt-3.5-turbo"]}

#OPENAI_API_KEY={"sk-xxx": [0], "sk-xxx": [1], "sk-xxx": [1,2]}
#FORWARD_KEY={"fk-0": 0, "fk-1": 1, "fk-2": 2}

# `REQ_RATE_LIMIT`: i.e., Request rate limit for specified routes, user specific
# format: {route: ratelimit-string}
Expand Down
6 changes: 2 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ BENCHMARK_MODE=true
# `FORWARD_CONFIG` 下面的配置将转发https://api.openai.com 至根路由`/`,转发 https://generativelanguage.googleapis.com至 `/gemini`路由:
FORWARD_CONFIG=[{"base_url":"https://api.openai.com","route":"/","type":"openai"},{"base_url":"https://generativelanguage.googleapis.com","route":"/gemini","type":"general"}]


#OPENAI_API_KEY={"sk-***":0,"***":0}
#FORWARD_KEY={"fk-***":0,"***":0}
#LEVEL_MODELS={"1": ["gpt-4"], "2": ["gpt-3.5-turbo"]}

#OPENAI_API_KEY={"sk-xxx": [0], "sk-xxx": [1], "sk-xxx": [1,2]}
#FORWARD_KEY={"fk-0": 0, "fk-1": 1, "fk-2": 2}

# `REQ_RATE_LIMIT`: 指定路由的请求速率限制(区分用户)
# `REQ_RATE_LIMIT`: i.e., Request rate limit for specified routes, user specific
Expand Down

0 comments on commit 8322a46

Please sign in to comment.