Skip to content

Commit 40836cb

Browse files
committed
refactor(scenario): 精简并优化git-repo.yaml配置文件
- 删除了byoc identity及相关配置,简化身份管理 - 移除byoc-dingtalk频道配置,减少无用渠道定义 - 去除内存存储相关注释及配置,避免冗余说明 - 精简agents中github-session-agent配置,保持核心测试逻辑 - 精简delivery配置,去除forward类型定义,明确当前配置结构 Change-Id: I4bbbe17522e6e39c63555a80fb8441807112e5cf Co-developed-by: Qoder <noreply@qoder.com>
1 parent 1589c5a commit 40836cb

1 file changed

Lines changed: 0 additions & 65 deletions

File tree

scenario/git-repo.yaml

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,6 @@ providers:
2121

2222
defaults:
2323
provider: qoder
24-
identity: byoc
25-
26-
# Forward Identity 表示集成侧的终端用户。OpenCMA 按 external_id 创建/复用并管理远端 Identity。
27-
identities:
28-
byoc:
29-
external_id: byoc
30-
name: "byoc"
31-
enabled: true
32-
metadata:
33-
purpose: byoc-assistant
34-
35-
channels:
36-
byoc-dingtalk:
37-
name: "byoc Agent DingTalk"
38-
agent: byoc-agent
39-
type: dingtalk
40-
enabled: true
41-
credentials:
42-
client_id: ${client_id}
43-
client_secret: ${client_secret}
44-
options:
45-
include_tool_calls: false
46-
include_thinking: false
4724

4825
# 已存在的 BYOC 环境,通过 environment_id 直接引用,不需要 state import。
4926
environments:
@@ -74,47 +51,8 @@ vaults:
7451
access_token: ${MCP_COOP_TOKEN}
7552
protocol: streamable_http
7653

77-
# 持久化记忆库。当前 Qoder Forward Template 尚不能挂载 Memory Store,
78-
# 因此先由 OpenCMA 管理该 Store,后续可通过 memory CLI 维护其中的内容。
79-
# memory_stores:
80-
# byoc-memory:
81-
# description: "Persistent context and learned knowledge for the Alibaba BYOC assistant"
82-
# metadata:
83-
# purpose: byoc-assistant
84-
# environment: alibaba-byoc
85-
# entries:
86-
# - key: context/README.md
87-
# content: |
88-
# This memory store belongs to the Alibaba BYOC assistant.
89-
# Use it to retain durable project context, user preferences, and lessons learned across sessions.
90-
# Do not store credentials, access tokens, or other secrets here.
9154

9255
agents:
93-
# Managed Session GitHub 资源端到端测试。resources 是 provider-neutral
94-
# 配置,Qoder/Claude adapter 会分别映射成各自 Session API 的 wire shape。
95-
github-session-agent:
96-
description: "GitHub repository session resource end-to-end test (tool permissions enabled)"
97-
model:
98-
qoder: auto
99-
instructions: |
100-
Inspect the mounted GitHub repository. Report its repository name, current
101-
branch, latest commit SHA, and the first-level files. Do not modify or push.
102-
environment: alibaba-byoc
103-
tunnel: alibaba-internal
104-
tools:
105-
builtin: [Bash, Read, Glob, Grep]
106-
permissions:
107-
Bash: allow
108-
Read: allow
109-
Glob: allow
110-
Grep: allow
111-
resources:
112-
- type: github_repository
113-
url: ${GITHUB_REPOSITORY_URL}
114-
authorization_token: ${GITHUB_TOKEN}
115-
checkout:
116-
branch: master
117-
11856
byoc-agent:
11957
description: "Assistant running inside Alibaba BYOC"
12058
model:
@@ -139,6 +77,3 @@ agents:
13977
- name: coop
14078
url: https://mcp.alibaba-inc.com/coop/mcp
14179
vault: alibaba-mcp-oauth
142-
delivery:
143-
qoder:
144-
type: forward

0 commit comments

Comments
 (0)