diff --git a/.env.example b/.env.example index 4d55f43..bd73c8d 100644 --- a/.env.example +++ b/.env.example @@ -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"}] @@ -55,4 +55,4 @@ ITER_CHUNK_TYPE=efficiency #ITER_CHUNK_TYPE=one-by-one # Set timezone -TZ=Asia/Shanghai \ No newline at end of file +TZ=Asia/Shanghai