chore(config): comment out API keys and update default settings for logging and usage statistics
This commit is contained in:
+39
-39
@@ -24,10 +24,10 @@ api-keys:
|
|||||||
debug: false
|
debug: false
|
||||||
|
|
||||||
# When true, write application logs to rotating files instead of stdout
|
# When true, write application logs to rotating files instead of stdout
|
||||||
logging-to-file: true
|
logging-to-file: false
|
||||||
|
|
||||||
# When false, disable in-memory usage statistics aggregation
|
# When false, disable in-memory usage statistics aggregation
|
||||||
usage-statistics-enabled: true
|
usage-statistics-enabled: false
|
||||||
|
|
||||||
# Proxy URL. Supports socks5/http/https protocols. Example: socks5://user:pass@192.168.1.1:1080/
|
# Proxy URL. Supports socks5/http/https protocols. Example: socks5://user:pass@192.168.1.1:1080/
|
||||||
proxy-url: ""
|
proxy-url: ""
|
||||||
@@ -41,48 +41,48 @@ quota-exceeded:
|
|||||||
switch-preview-model: true # Whether to automatically switch to a preview model when a quota is exceeded
|
switch-preview-model: true # Whether to automatically switch to a preview model when a quota is exceeded
|
||||||
|
|
||||||
# API keys for official Generative Language API
|
# API keys for official Generative Language API
|
||||||
generative-language-api-key:
|
#generative-language-api-key:
|
||||||
- "AIzaSy...01"
|
# - "AIzaSy...01"
|
||||||
- "AIzaSy...02"
|
# - "AIzaSy...02"
|
||||||
- "AIzaSy...03"
|
# - "AIzaSy...03"
|
||||||
- "AIzaSy...04"
|
# - "AIzaSy...04"
|
||||||
|
|
||||||
# Codex API keys
|
# Codex API keys
|
||||||
codex-api-key:
|
#codex-api-key:
|
||||||
- api-key: "sk-atSM..."
|
# - api-key: "sk-atSM..."
|
||||||
base-url: "https://www.example.com" # use the custom codex API endpoint
|
# base-url: "https://www.example.com" # use the custom codex API endpoint
|
||||||
|
|
||||||
# Claude API keys
|
# Claude API keys
|
||||||
claude-api-key:
|
#claude-api-key:
|
||||||
- api-key: "sk-atSM..." # use the official claude API key, no need to set the base url
|
# - api-key: "sk-atSM..." # use the official claude API key, no need to set the base url
|
||||||
- api-key: "sk-atSM..."
|
# - api-key: "sk-atSM..."
|
||||||
base-url: "https://www.example.com" # use the custom claude API endpoint
|
# base-url: "https://www.example.com" # use the custom claude API endpoint
|
||||||
|
|
||||||
# OpenAI compatibility providers
|
# OpenAI compatibility providers
|
||||||
openai-compatibility:
|
#openai-compatibility:
|
||||||
- name: "openrouter" # The name of the provider; it will be used in the user agent and other places.
|
# - name: "openrouter" # The name of the provider; it will be used in the user agent and other places.
|
||||||
base-url: "https://openrouter.ai/api/v1" # The base URL of the provider.
|
# base-url: "https://openrouter.ai/api/v1" # The base URL of the provider.
|
||||||
api-keys: # The API keys for the provider. Add multiple keys if needed. Omit if unauthenticated access is allowed.
|
# api-keys: # The API keys for the provider. Add multiple keys if needed. Omit if unauthenticated access is allowed.
|
||||||
- "sk-or-v1-...b780"
|
# - "sk-or-v1-...b780"
|
||||||
- "sk-or-v1-...b781"
|
# - "sk-or-v1-...b781"
|
||||||
models: # The models supported by the provider.
|
# models: # The models supported by the provider.
|
||||||
- name: "moonshotai/kimi-k2:free" # The actual model name.
|
# - name: "moonshotai/kimi-k2:free" # The actual model name.
|
||||||
alias: "kimi-k2" # The alias used in the API.
|
# alias: "kimi-k2" # The alias used in the API.
|
||||||
|
|
||||||
# Gemini Web settings
|
# Gemini Web settings
|
||||||
gemini-web:
|
#gemini-web:
|
||||||
# Conversation reuse: set to true to enable (default), false to disable.
|
# # Conversation reuse: set to true to enable (default), false to disable.
|
||||||
context: true
|
# context: true
|
||||||
# Maximum characters per single request to Gemini Web. Requests exceeding this
|
# # Maximum characters per single request to Gemini Web. Requests exceeding this
|
||||||
# size split into chunks. Only the last chunk carries files and yields the final answer.
|
# # size split into chunks. Only the last chunk carries files and yields the final answer.
|
||||||
max-chars-per-request: 1000000
|
# max-chars-per-request: 1000000
|
||||||
# Disable the short continuation hint appended to intermediate chunks
|
# # Disable the short continuation hint appended to intermediate chunks
|
||||||
# when splitting long prompts. Default is false (hint enabled by default).
|
# # when splitting long prompts. Default is false (hint enabled by default).
|
||||||
disable-continuation-hint: false
|
# disable-continuation-hint: false
|
||||||
# Code mode:
|
# # Code mode:
|
||||||
# - true: enable XML wrapping hint and attach the coding-partner Gem.
|
# # - true: enable XML wrapping hint and attach the coding-partner Gem.
|
||||||
# Thought merging (<think> into visible content) applies to STREAMING only;
|
# # Thought merging (<think> into visible content) applies to STREAMING only;
|
||||||
# non-stream responses keep reasoning/thought parts separate for clients
|
# # non-stream responses keep reasoning/thought parts separate for clients
|
||||||
# that expect explicit reasoning fields.
|
# # that expect explicit reasoning fields.
|
||||||
# - false: disable XML hint and keep <think> separate
|
# # - false: disable XML hint and keep <think> separate
|
||||||
code-mode: false
|
# code-mode: false
|
||||||
|
|||||||
Reference in New Issue
Block a user