chore: 纳入 agent 工具配置与忽略规则
.gitignore:忽略 agents.state.json、.openagentpack/versions/ 与 .env——
后两者分别是工具运行状态和本地环境变量文件,都不应进版本库。
agents.yaml:agent 工具(bailian provider,qwen3.8-max)的配置。
密钥走 ${DASHSCOPE_API_KEY} / ${BAILIAN_BASE_URL} 环境变量占位,文件内不含明文凭据。
与本次信箱生命周期重构无关,单独提交以便回退。
This commit is contained in:
@@ -18,3 +18,8 @@ out/
|
|||||||
|
|
||||||
# --- 系统 ---
|
# --- 系统 ---
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
# agents
|
||||||
|
agents.state.json
|
||||||
|
.openagentpack/versions/
|
||||||
|
.env
|
||||||
|
|||||||
+27
@@ -0,0 +1,27 @@
|
|||||||
|
version: "1"
|
||||||
|
|
||||||
|
providers:
|
||||||
|
bailian:
|
||||||
|
# bl auth login --api-key <key> sets DASHSCOPE_API_KEY; --base-url <url> sets BAILIAN_BASE_URL
|
||||||
|
api_key: ${DASHSCOPE_API_KEY}
|
||||||
|
base_url: ${BAILIAN_BASE_URL}
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
provider: bailian
|
||||||
|
|
||||||
|
environments:
|
||||||
|
dev:
|
||||||
|
config:
|
||||||
|
type: cloud
|
||||||
|
networking:
|
||||||
|
type: unrestricted
|
||||||
|
|
||||||
|
agents:
|
||||||
|
assistant:
|
||||||
|
description: "General-purpose assistant"
|
||||||
|
model: qwen3.8-max
|
||||||
|
instructions: |
|
||||||
|
You are a helpful assistant.
|
||||||
|
environment: dev
|
||||||
|
tools:
|
||||||
|
builtin: [bash, read, glob, grep]
|
||||||
Reference in New Issue
Block a user