Skip to content

fix: 修复 anthropic 默认 max_tokens 过大的错误 #9

fix: 修复 anthropic 默认 max_tokens 过大的错误

fix: 修复 anthropic 默认 max_tokens 过大的错误 #9

Workflow file for this run

name: Deploy Worker
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.6.0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: Build & Deploy Worker
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}