Skip to content

Commit 0228c17

Browse files
committed
chore: update GitHub Actions workflow to use GITHUB_TOKEN and re-enable template structure generation tool
1 parent 41c13c8 commit 0228c17

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/pr-auto-label.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
- name: Label PR based on title keywords
1919
uses: actions/github-script@v8
2020
with:
21+
# 使用具有写入权限的token
22+
github-token: ${{ secrets.GITHUB_TOKEN }}
2123
script: |
2224
const title = context.payload.pull_request.title.toLowerCase();
2325
const labelsToAdd = new Set(); // 使用 Set 避免重复添加

agents/matmaster_agent/structure_generate_agent/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __init__(self, llm_config):
5353
dflow_flag=False,
5454
supervisor_agent=MATMASTER_AGENT_NAME,
5555
sync_tools=[
56-
# 'build_bulk_structure_by_template',
56+
'build_bulk_structure_by_template',
5757
'build_bulk_structure_by_wyckoff',
5858
'make_supercell_structure',
5959
'build_molecule_structure_from_g2database',

0 commit comments

Comments
 (0)