Skip to content

Commit

Permalink
Merge pull request #25 from meethuhu/main
Browse files Browse the repository at this point in the history
Updated model:  llama-3-70b  => llama-3.1-70b
  • Loading branch information
xiaozhou26 authored Aug 18, 2024
2 parents 914f8ea + ec5580b commit d7c06cb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
## 高级设置
Expand Down
4 changes: 2 additions & 2 deletions conversion/requests/duckgo/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2478,7 +2478,7 @@
<select id="preSetModel">
<option value="gpt-4o-mini">gpt-4o-mini</option>
<option value="claude-3-haiku-20240307">claude-3-haiku-20240307</option>
<option value="llama-3-70b">llama-3-70b</option>
<option value="llama-3.1-70b">llama-3.1-70b</option>
<option value="mixtral-8x7b">mixtral-8x7b</option>
</select>
</div>
Expand Down

0 comments on commit d7c06cb

Please sign in to comment.