本地部署:顶层 docker-compose/config,域名 agent.ai.foresh.com(nginx-proxy VIRTUAL_HOST + external my-app-network,仅内网 expose 8080,config 只读挂载);配置后缀统一 .yaml→.yml(文件与全部引用,含 Dockerfile/AGENT_CONFIG/config.js/smoke)。smoke 25/25 通过

This commit is contained in:
2026-08-31 08:42:16 +08:00
parent cef9f815f7
commit b816efc23f
12 changed files with 92 additions and 86 deletions
+21
View File
@@ -0,0 +1,21 @@
# 冒烟测试用配置:上游指向本地 mock
models:
- id: ds1
display_name: "Mock Model 1"
- id: ds2
display_name: "Mock Model 2"
upstream_url: "http://127.0.0.1:9999/v1"
workspace_root: "./test/tmp/tasks"
port: 8099
terminal:
default_timeout_ms: 30000
max_output_chars: 10000
agent:
temperature: 1.0
max_tool_iterations: 20
max_retries: 1