diff --git a/.env.sample b/.env.sample index 92ce3d4af9..23153103a6 100644 --- a/.env.sample +++ b/.env.sample @@ -15,7 +15,7 @@ LEON_DISABLED_CONTEXT_FILES= # LLM configuration -# Providers: llamacpp | sglang | openrouter | openai | zai | moonshotai | anthropic | huggingface | cerebras | groq +# Providers: llamacpp | sglang | openrouter | openai | zai | moonshotai | anthropic | huggingface | cerebras | groq | astraflow # Keep empty to default to the installed local LLM # Set to "none" to disable AI until you configure a provider later LEON_LLM=none @@ -61,6 +61,9 @@ LEON_CEREBRAS_API_KEY= # Groq API key LEON_GROQ_API_KEY= +# Astraflow API key (global endpoint — https://astraflow.ucloud-global.com) +LEON_ASTRAFLOW_API_KEY= + # Enable/disable Leon's wake word LEON_WAKE_WORD=false diff --git a/server/src/core/llm-manager/llm-provider-account-configs.ts b/server/src/core/llm-manager/llm-provider-account-configs.ts index 13fa49d74c..4dad410e72 100644 --- a/server/src/core/llm-manager/llm-provider-account-configs.ts +++ b/server/src/core/llm-manager/llm-provider-account-configs.ts @@ -61,6 +61,12 @@ export const LLM_PROVIDER_ACCOUNT_CONFIGS: ReadonlyArray