Skip to content

Commit 4cd010f

Browse files
committed
fix: critical workflow issues
1. Add opencode.json provider config for MiniMax API 2. Fix oh-my-opencode.json: use openai-compatible SDK with correct baseURL 3. Fix YAML syntax error in ai-iterate.yml (broken script block)
1 parent f824dd7 commit 4cd010f

3 files changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/ai-iterate.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,13 @@ jobs:
112112
issue_number: parseInt('${{ steps.extract.outputs.pr_number }}'),
113113
owner: context.repo.owner,
114114
repo: context.repo.repo,
115+
body: body
116+
});
115117
116118
- name: Merge PR
117119
if: steps.changes.outputs.changed > 0
118120
env:
119121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
120122
run: |
121123
gh pr merge --squash --delete-branch "ai/issue-$env:ISSUE_NUM" --auto 2>nul || echo "PR merge failed or already merged"
122-
body: body
123-
});
124+

.github/workflows/oh-my-opencode.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
33
"provider": {
44
"minimax": {
5-
"npm": "@ai-sdk/anthropic",
5+
"npm": "@ai-sdk/openai-compatible",
66
"options": {
7-
"baseURL": "https://api.minimaxi.com/anthropic",
7+
"baseURL": "https://api.minimaxi.com/v1",
88
"apiKey": "MINIMAX_API_KEY"
99
},
1010
"models": {

.github/workflows/opencode.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "https://opencode.ai/config.json",
3+
"provider": {
4+
"minimax": {
5+
"api": "https://api.minimaxi.com/v1",
6+
"model": "MiniMax-M2.5"
7+
}
8+
}
9+
}

0 commit comments

Comments
 (0)