Skip to content

Commit

Permalink
Update .env.example
Browse files Browse the repository at this point in the history
  • Loading branch information
KenyonY authored Jan 29, 2024
1 parent 9c9d297 commit 9f60482
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ OPENAI_CACHE=true


# `CACHE_BACKEND`: Options (MEMORY, LMDB, LevelDB)
CACHE_BACKEND=LevelDB
CACHE_BACKEND=LMDB
CACHE_ROOT_PATH_OR_URL=./FLAXKV_DB
DEFAULT_REQUEST_CACHING_VALUE=false

BENCHMARK_MODE=true

# `FORWARD_CONFIG` 配置转发https://api.openai.com 至/openai路由,转发 https://generativelanguage.googleapis.com至 /gemini接口:
# `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"}]


Expand Down Expand Up @@ -55,4 +55,4 @@ ITER_CHUNK_TYPE=efficiency
#ITER_CHUNK_TYPE=one-by-one

# Set timezone
TZ=Asia/Shanghai
TZ=Asia/Shanghai

0 comments on commit 9f60482

Please sign in to comment.