diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3dc8b36..9ae7d6b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GHCR_PAT }} with: - tag_name: v2.1.2 + tag_name: v2.1.3 files: | duck2api-linux-amd64.tar.gz duck2api-windows-amd64.tar.gz diff --git a/README.md b/README.md index 70f523b..b566d32 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ curl --location 'http://你的服务器ip:8080/v1/chat/completions' \ - ~~gpt-3.5-turbo~~ duckduckGO官方已移除3.5模型的支持 - claude-3-haiku -- llama-3-70b +- llama-3.1-70b - mixtral-8x7b - gpt-4o-mini ## 高级设置 diff --git a/conversion/requests/duckgo/convert.go b/conversion/requests/duckgo/convert.go index 007baba..2efe2e4 100644 --- a/conversion/requests/duckgo/convert.go +++ b/conversion/requests/duckgo/convert.go @@ -18,8 +18,8 @@ func ConvertAPIRequest(api_request officialtypes.APIRequest) duckgotypes.ApiRequ realModel = "gpt-4o-mini" case strings.HasPrefix(modelLower, "claude-3-haiku"): realModel = "claude-3-haiku-20240307" - case strings.HasPrefix(modelLower, "llama-3-70b"): - realModel = "meta-llama/Llama-3-70b-chat-hf" + case strings.HasPrefix(modelLower, "llama-3.1-70b"): + realModel = "meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo" case strings.HasPrefix(modelLower, "mixtral-8x7b"): realModel = "mistralai/Mixtral-8x7B-Instruct-v0.1" } diff --git a/web/index.html b/web/index.html index e37178c..fb5e06b 100644 --- a/web/index.html +++ b/web/index.html @@ -2478,7 +2478,7 @@