mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-24 07:00:49 +08:00
fix: 解决脚本失败问题
This commit is contained in:
4
.github/workflows/reply-bots.yml
vendored
4
.github/workflows/reply-bots.yml
vendored
@@ -19,10 +19,10 @@ jobs:
|
||||
cache: "npm"
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install --no-save @openai/agents ts-node typescript
|
||||
run: npm install --no-save @openai/agents tsx typescript
|
||||
|
||||
- name: Run reply bot
|
||||
env:
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
OPENISLE_TOKEN: ${{ secrets.OPENISLE_TOKEN }}
|
||||
run: npx ts-node --esm bots/reply_bots.ts
|
||||
run: npx tsx bots/reply_bots.ts
|
||||
|
||||
Reference in New Issue
Block a user