From 4815a6c92e604b8e19251089a3b5cc1929889d0b Mon Sep 17 00:00:00 2001 From: yuehua-s <41819795+yuehua-s@users.noreply.github.com> Date: Tue, 16 Apr 2024 09:56:11 +0800 Subject: [PATCH] fix:fix model_config claude-api (#3760) Co-authored-by: yuehuazhang --- .github/workflows/docker-build.yaml | 7 ++++--- configs/model_config.py.example | 4 +++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-build.yaml b/.github/workflows/docker-build.yaml index 1929ba0d..042e88b4 100644 --- a/.github/workflows/docker-build.yaml +++ b/.github/workflows/docker-build.yaml @@ -1,13 +1,14 @@ name: docker-build on: - pull_request: - types: [ closed ] + push: + branches: + - master env: TZ: Asia/Shanghai jobs: docker-build: runs-on: ubuntu-latest - if: github.event.pull_request.merged == true + # if: github.event.pull_request.merged == true steps: - name: Optimize Disk Space uses: hugoalh/disk-space-optimizer-ghaction@v0.8.0 diff --git a/configs/model_config.py.example b/configs/model_config.py.example index a0753663..25f41bb4 100644 --- a/configs/model_config.py.example +++ b/configs/model_config.py.example @@ -120,11 +120,13 @@ ONLINE_LLM_MODEL = { "secret_key": "", "provider": "TianGongWorker", }, + # Gemini API https://makersuite.google.com/app/apikey "gemini-api": { "api_key": "", "provider": "GeminiWorker", - } + }, + # Claude API : https://www.anthropic.com/api # Available models: # Claude 3 Opus: claude-3-opus-20240229