Files

1 line
15 KiB
JSON

{"repo": "760485464/qyclaw", "files": {"config.yaml": {"11caef44240b5d7410f100c82e34603407fb461d": {"t": 1785674400.8325582, "n": 7388, "h": "cb515da423b9f4bf", "c": "# API keys\napi_keys:\n # internet_search tools require tavily api key, get it from https://www.tavily.com/ and put it here.\n tavily: \n\n# SMTP settings (password reset emails)\nsmtp:\n enabled: true\n host: \"smtp.example.com\"\n port: 465\n username: \"user@example.com\"\n password: \"xxxxxx\"\n from_email: \"user@example.com\"\n from_name: \"user@example.com\"\n use_tls: false\n use_ssl: true\n timeout_seconds: 15\n\n# LLM model settings\n# Notes:\n# 1) provider keys must be supported by langchain init_chat_model (openai/anthropic/google_genai/...).\n# 2) For each provider:\n# - models: candidate model list\n# - params: shared params (temperature/max_tokens), can be overridden by model name.\n# 3) Backend currently uses the first provider and its models[0] as the runtime model.\n# Put your target provider first, and the target model as the first item in models.\nmodels:\n providers:\n # -----------------------------\n # Enabled example: OpenAI-compatible APIs\n # -----------------------------\n openai:\n # # Official OpenAI:\n # base_url: \"https://api.openai.com/v1\"\n # api_key: \"sk-xxxx\"\n #\n # # Ali Dashscope compatible mode (free/test):\n # base_url: \"https://dashscope.aliyuncs.com/compatible-mode/v1\"\n # api_key: \"sk-xxxx\"\n #\n # # Ali Dashscope coding (paid):\n # base_url: \"https://coding.dashscope.aliyuncs.com/v1\"\n # api_key: \"sk-sp-86d129e98f964d679c5bc198cbb06f81\"\n # models:\n # - \"qwen3.5-plus\"\n # - \"qwen3-max-2026-01-23\"\n # - \"qwen3-coder-next\"\n # - \"qwen3-coder-plus\"\n # - \"MiniMax-M2.5\"\n # - \"glm-5\"\n # # - \"gpt-4.1\"\n # # - \"gpt-4o\"\n # # - \"gpt-5\"\n # params:\n # temperature: 0\n # max_tokens: 4096\n # qwen3.5-plus:\n # temperature: 0.7\n # #\n # SiliconFlow (OpenAI-compatible):\n base_url: \"https://api.siliconflow.cn/v1\"\n api_key: \n models:\n - \"Pro/MiniMaxAI/MiniMax-M2.5\"\n params:\n temperature: 0\n max_tokens: 4096\n Pro/zai-org/GLM-5:\n temperature: 0.7\n \n\n # -----------------------------\n # Other provider templates (disabled by default)\n # -----------------------------\n # anthropic:\n # # Optional; usually no base_url required (official endpoint)\n # # base_url: \"https://api.anthropic.com\"\n # api_key: \"sk-ant-xxxx\"\n # models:\n # - \"claude-sonnet-4-5\"\n # - \"claude-opus-4-1\"\n # params:\n # temperature: 0\n # max_tokens: 4096\n\n # google_genai:\n # # Gemini API\n # api_key: \"AIzaSyxxxx\"\n # models:\n # - \"gemini-2.5-pro\"\n # - \"gemini-2.5-flash\"\n # params:\n # temperature: 0\n # max_tokens: 4096\n\n # google_vertexai:\n # # Vertex AI common parameters\n # project: \"your-gcp-project-id\"\n # location: \"us-central1\"\n # # credentials_path: \"/path/to/service-account.json\"\n # models:\n # - \"gemini-2.5-pro\"\n # params:\n # temperature: 0\n # max_tokens: 4096\n\n # azure_openai:\n # # Azure OpenAI\n # base_url: \"https://<resource-name>.openai.azure.com/\"\n # api_key: \"<azure-api-key>\"\n # api_version: \"2024-10-21\"\n # models:\n # # Use deployment names here (not raw model IDs)\n # - \"gpt-4o-deployment\"\n # params:\n # temperature: 0\n # max_tokens: 4096\n\n # xai:\n # api_key: \"xai-xxxx\"\n # models:\n # - \"grok-3\"\n # - \"grok-3-mini\"\n # params:\n # temperature: 0\n\n # groq:\n # api_key: \"gsk_xxxx\"\n # models:\n # - \"llama-3.3-70b-versatile\"\n # - \"mixtral-8x7b-32768\"\n # params:\n # temperature: 0\n\n # together:\n # api_key: \"xxxx\"\n # base_url: \"https://api.together.xyz/v1\"\n # models:\n # - \"meta-llama/Llama-3.3-70B-Instruct-Turbo\"\n # params:\n # temperature: 0\n\n # mistralai:\n # api_key: \"xxxx\"\n # models:\n # - \"mistral-large-latest\"\n # - \"ministral-8b-latest\"\n # params:\n # temperature: 0\n\n # cohere:\n # api_key: \"xxxx\"\n # models:\n # - \"command-r-plus\"\n # - \"command-r\"\n # params:\n # temperature: 0\n\n # ollama:\n # # Local/private deployment\n # base_url: \"http://127.0.0.1:11434\"\n # models:\n # - \"qwen2.5:1.5b-16k\"\n # params:\n # temperature: 0\n # max_tokens: 24096\n # qwen2.5:1.5b-16k:\n # temperature: 0.7\n\n # bedrock:\n # # AWS Bedrock\n # region_name: \"us-east-1\"\n # # access_key_id: \"AKIA...\"\n # # secret_access_key: \"...\"\n # models:\n # - \"anthropic.claude-3-5-sonnet-20241022-v2:0\"\n # params:\n # temperature: 0\n\n# Qyclaw unified configuration\napp:\n name: \"qyclaw-backend\"\n # UI/API locale: \"en\" (English, default) or \"zh\" (Chinese)\n locale: \"en\"\n env: \"development\"\n host: \"0.0.0.0\"\n port: 8000\n debug: true\n frontend_base_url: \"http://localhost:8080/frontend\"\n\n# Auth settings\nauth:\n # Dev-only: when enabled, forgot-password returns the verification code and reset token.\n expose_password_reset_debug: false\n\n# PostgreSQL connection\ndatabase:\n host: \"127.0.0.1\"\n port: 5432\n user: \"qyclaw\"\n password: \"qyclaw_dev_password\"\n name: \"qyclaw\"\n\n# Skills\nskills:\n enabled: true\n directories:\n - \"./skills-builtin\"\n\n# Skill storage directories\nskill_storage:\n userskills_dir: \"./skills/user\"\n preskills_dir: \"./skills/prepublish\"\n skills_dir: \"./skills/published\"\n agentskills_dir: \"./skills/agent\"\n conversationskills_dir: \"./skills/conversation\"\n\n# Backend routing / rollout\nbackend_routing:\n default_backend: \"deepagents\"\n rollout_backend: \"claude\"\n rollout_percent: 0\n user_overrides: {}\n enable_fallback: true\n fallback_backend: \"deepagents\"\n\n# Claude Agent backend\n# Keep this pointed at a real Claude-compatible endpoint/model.\nclaude_agent:\n enabled: true\n model: \"qwen3.5-plus\"\n cli_path: \"C:\\\\Users\\\\PC\\\\AppData\\\\Roaming\\\\npm\\\\claude.cmd\"\n fallback_model:\n permission_mode: \"default\"\n max_turns:\n max_thinking_tokens:\n effort:\n base_url: https://coding.dashscope.aliyuncs.com/apps/anthropic\n api_key: \n\n# Security policy\nsecurity:\n debug_exec_enabled: true\n debug_exec_admin_only: true\n terminal_policy: \"strict\"\n terminal_allowed_roots:\n - \"/workspace\"\n - \"/tmp\"\n\n# Hindsight long-term memory\nhindsight:\n enabled: true\n base_url: \"http://127.0.0.1:8888\"\n api_key:\n timeout: 60.0\n user_bank_prefix: \"user\"\n recall_budget: \"low\"\n recall_max_tokens: 600\n retain_async: false\n reflect_every_turns: 3\n\n# Agent behavior\nagent:\n interrupt_on:\n write_file: true\n edit_file: true\n terminal: true\n\n# Docker container\ndocker:\n enabled: true\n image: \"python:3.12-slim\"\n container_name_prefix: \"qyclaw-exec\"\n workspace_root: \"./workspaces\"\n # Remote Docker daemon (dind) settings\n daemon_hosts:\n - name: \"dind-0\"\n host: \"tcp://127.0.0.1:12376\"\n - name: \"dind-1\"\n host: \"tcp://127.0.0.1:12377\"\n daemon_workspace_root: \"/workspaces\"\n tls:\n enabled: true\n certs_dir: \"./certs\"\n ca_cert: \"./certs/ca.crt\"\n client_cert: \"./certs/tls.crt\"\n client_key: \"./certs/tls.key\"\n verify: true\n workdir: \"/workspace\"\n readonly_workdir: false\n auto_remove: true\n timeout: 300\n client_timeout: 10\n environment:\n - \"PYTHONUNBUFFERED=1\"\n"}}, "config-docker.yaml": {"11caef44240b5d7410f100c82e34603407fb461d": {"t": 1785674403.2245295, "n": 7112, "h": "c1522922e51a7dda", "c": "# API keys\napi_keys:\n # internet_search tools require tavily api key, get it from https://www.tavily.com/ and put it here.\n tavily: \"xxxxxx\"\n\n# SMTP settings (password reset emails)\nsmtp:\n enabled: true\n host: \"smtp.example.com\"\n port: 465\n username: \"user@example.com\"\n password: \"xxxxxx\"\n from_email: \"user@example.com\"\n from_name: \"user@example.com\"\n use_tls: false\n use_ssl: true\n timeout_seconds: 15\n\n# LLM model settings\n# Notes:\n# 1) provider keys must be supported by langchain init_chat_model (openai/anthropic/google_genai/...).\n# 2) For each provider:\n# - models: candidate model list\n# - params: shared params (temperature/max_tokens), can be overridden by model name.\n# 3) Backend currently uses the first provider and its models[0] as the runtime model.\n# Put your target provider first, and the target model as the first item in models.\nmodels:\n providers:\n # -----------------------------\n # Enabled example: OpenAI-compatible APIs\n # -----------------------------\n openai:\n # # Official OpenAI:\n # base_url: \"https://api.openai.com/v1\"\n # api_key: \"sk-xxxx\"\n #\n # # Ali Dashscope compatible mode (free/test):\n # base_url: \"https://dashscope.aliyuncs.com/compatible-mode/v1\"\n # api_key: \"sk-xxxx\"\n #\n # # Ali Dashscope coding (paid):\n # base_url: \"https://coding.dashscope.aliyuncs.com/v1\"\n # api_key: \"sk-sp-86d129e98f964d679c5bc198cbb06f81\"\n # models:\n # - \"qwen3.5-plus\"\n # - \"qwen3-max-2026-01-23\"\n # - \"qwen3-coder-next\"\n # - \"qwen3-coder-plus\"\n # - \"MiniMax-M2.5\"\n # - \"glm-5\"\n # # - \"gpt-4.1\"\n # # - \"gpt-4o\"\n # # - \"gpt-5\"\n # params:\n # temperature: 0\n # max_tokens: 4096\n # qwen3.5-plus:\n # temperature: 0.7\n # #\n # SiliconFlow (OpenAI-compatible):\n base_url: \"https://api.siliconflow.cn/v1\"\n api_key: \n models:\n - \"Pro/MiniMaxAI/MiniMax-M2.5\"\n params:\n temperature: 0.7\n max_tokens: 4096\n\n \n\n # -----------------------------\n # Other provider templates (disabled by default)\n # -----------------------------\n # anthropic:\n # # Optional; usually no base_url required (official endpoint)\n # # base_url: \"https://api.anthropic.com\"\n # api_key: \"sk-ant-xxxx\"\n # models:\n # - \"claude-sonnet-4-5\"\n # - \"claude-opus-4-1\"\n # params:\n # temperature: 0\n # max_tokens: 4096\n\n # google_genai:\n # # Gemini API\n # api_key: \"AIzaSyxxxx\"\n # models:\n # - \"gemini-2.5-pro\"\n # - \"gemini-2.5-flash\"\n # params:\n # temperature: 0\n # max_tokens: 4096\n\n # google_vertexai:\n # # Vertex AI common parameters\n # project: \"your-gcp-project-id\"\n # location: \"us-central1\"\n # # credentials_path: \"/path/to/service-account.json\"\n # models:\n # - \"gemini-2.5-pro\"\n # params:\n # temperature: 0\n # max_tokens: 4096\n\n # azure_openai:\n # # Azure OpenAI\n # base_url: \"https://<resource-name>.openai.azure.com/\"\n # api_key: \"<azure-api-key>\"\n # api_version: \"2024-10-21\"\n # models:\n # # Use deployment names here (not raw model IDs)\n # - \"gpt-4o-deployment\"\n # params:\n # temperature: 0\n # max_tokens: 4096\n\n # xai:\n # api_key: \"xai-xxxx\"\n # models:\n # - \"grok-3\"\n # - \"grok-3-mini\"\n # params:\n # temperature: 0\n\n # groq:\n # api_key: \"gsk_xxxx\"\n # models:\n # - \"llama-3.3-70b-versatile\"\n # - \"mixtral-8x7b-32768\"\n # params:\n # temperature: 0\n\n # together:\n # api_key: \"xxxx\"\n # base_url: \"https://api.together.xyz/v1\"\n # models:\n # - \"meta-llama/Llama-3.3-70B-Instruct-Turbo\"\n # params:\n # temperature: 0\n\n # mistralai:\n # api_key: \"xxxx\"\n # models:\n # - \"mistral-large-latest\"\n # - \"ministral-8b-latest\"\n # params:\n # temperature: 0\n\n # cohere:\n # api_key: \"xxxx\"\n # models:\n # - \"command-r-plus\"\n # - \"command-r\"\n # params:\n # temperature: 0\n\n # ollama:\n # # Local/private deployment\n # base_url: \"http://127.0.0.1:11434\"\n # models:\n # - \"qwen2.5:1.5b-16k\"\n # params:\n # temperature: 0\n # max_tokens: 24096\n # qwen2.5:1.5b-16k:\n # temperature: 0.7\n\n # bedrock:\n # # AWS Bedrock\n # region_name: \"us-east-1\"\n # # access_key_id: \"AKIA...\"\n # # secret_access_key: \"...\"\n # models:\n # - \"anthropic.claude-3-5-sonnet-20241022-v2:0\"\n # params:\n # temperature: 0\n\n# Qyclaw unified configuration\napp:\n name: \"qyclaw-backend\"\n # UI/API locale: \"en\" (English, default) or \"zh\" (Chinese)\n locale: \"en\"\n env: \"development\"\n host: \"0.0.0.0\"\n port: 8000\n debug: true\n frontend_base_url: \"http://localhost:8080/frontend\"\n\n# Auth settings\nauth:\n # Dev-only: when enabled, forgot-password returns the verification code and reset token.\n expose_password_reset_debug: false\n\n# PostgreSQL connection\ndatabase:\n host: \"postgres\"\n port: 5432\n user: \"qyclaw\"\n password: \"qyclaw_dev_password\"\n name: \"qyclaw\"\n\n# Skills\nskills:\n enabled: true\n directories:\n - \"./skills-builtin\"\n\n# Skill storage directories\nskill_storage:\n userskills_dir: \"./skills/user\"\n preskills_dir: \"./skills/prepublish\"\n skills_dir: \"./skills/published\"\n agentskills_dir: \"./skills/agent\"\n conversationskills_dir: \"./skills/conversation\"\n\n# Backend routing / rollout\nbackend_routing:\n default_backend: \"deepagents\"\n rollout_backend: \"claude\"\n rollout_percent: 0\n user_overrides: {}\n enable_fallback: true\n fallback_backend: \"deepagents\"\n\n# Claude Agent backend\n# Keep this pointed at a real Claude-compatible endpoint/model.\nclaude_agent:\n enabled: true\n model: \"qwen3.5-plus\"\n cli_path: \"C:\\\\Users\\\\PC\\\\AppData\\\\Roaming\\\\npm\\\\claude.cmd\"\n fallback_model:\n permission_mode: \"default\"\n max_turns:\n max_thinking_tokens:\n effort:\n base_url: https://coding.dashscope.aliyuncs.com/apps/anthropic\n api_key: \n\n# Security policy\nsecurity:\n debug_exec_enabled: true\n debug_exec_admin_only: true\n terminal_policy: \"strict\"\n terminal_allowed_roots:\n - \"/workspace\"\n - \"/tmp\"\n\n# Agent behavior\nagent:\n interrupt_on:\n write_file: true\n edit_file: true\n terminal: true\n\n# Docker container\ndocker:\n enabled: true\n image: \"python:3.12-slim\"\n container_name_prefix: \"qyclaw-exec\"\n workspace_root: \"./workspaces\"\n # Remote Docker daemon (dind) settings\n daemon_hosts:\n - name: \"dind-0\"\n host: \"tcp://docker-0.docker:2376\"\n - name: \"dind-1\"\n host: \"tcp://docker-1.docker:2376\"\n daemon_workspace_root: \"/workspaces\"\n tls:\n enabled: true\n certs_dir: \"./certs\"\n ca_cert: \"./certs/ca.crt\"\n client_cert: \"./certs/tls.crt\"\n client_key: \"./certs/tls.key\"\n verify: true\n workdir: \"/workspace\"\n readonly_workdir: false\n auto_remove: true\n timeout: 300\n client_timeout: 10\n environment:\n - \"PYTHONUNBUFFERED=1\"\n"}}}}