fix:fix model_config claude-api (#3760)

Co-authored-by: yuehuazhang <yuehuazhang@tencent.com>
This commit is contained in:
yuehua-s 2024-04-16 09:56:11 +08:00 committed by GitHub
parent 448e79576c
commit 4815a6c92e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View File

@ -1,13 +1,14 @@
name: docker-build name: docker-build
on: on:
pull_request: push:
types: [ closed ] branches:
- master
env: env:
TZ: Asia/Shanghai TZ: Asia/Shanghai
jobs: jobs:
docker-build: docker-build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event.pull_request.merged == true # if: github.event.pull_request.merged == true
steps: steps:
- name: Optimize Disk Space - name: Optimize Disk Space
uses: hugoalh/disk-space-optimizer-ghaction@v0.8.0 uses: hugoalh/disk-space-optimizer-ghaction@v0.8.0

View File

@ -120,11 +120,13 @@ ONLINE_LLM_MODEL = {
"secret_key": "", "secret_key": "",
"provider": "TianGongWorker", "provider": "TianGongWorker",
}, },
# Gemini API https://makersuite.google.com/app/apikey # Gemini API https://makersuite.google.com/app/apikey
"gemini-api": { "gemini-api": {
"api_key": "", "api_key": "",
"provider": "GeminiWorker", "provider": "GeminiWorker",
} },
# Claude API : https://www.anthropic.com/api # Claude API : https://www.anthropic.com/api
# Available models: # Available models:
# Claude 3 Opus: claude-3-opus-20240229 # Claude 3 Opus: claude-3-opus-20240229