This repository was archived by the owner on Apr 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed
conversion/requests/duckgo Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -58,9 +58,10 @@ curl --location 'http://你的服务器ip:8080/v1/chat/completions' \
5858
5959- ~~ gpt-3.5-turbo~~ duckduckGO官方已移除3.5模型的支持
6060- claude-3-haiku
61- - llama-3.1 -70b
61+ - llama-3.3 -70b
6262- mixtral-8x7b
6363- gpt-4o-mini
64+ - o3-mini
6465## 高级设置
6566
6667默认情况不需要设置,除非你有需求
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ func ConvertAPIRequest(api_request officialtypes.APIRequest) duckgotypes.ApiRequ
1818 realModel = "gpt-4o-mini"
1919 case strings .HasPrefix (modelLower , "claude-3-haiku" ):
2020 realModel = "claude-3-haiku-20240307"
21- case strings .HasPrefix (modelLower , "llama-3.1 -70b" ):
22- realModel = "meta-llama/Meta- Llama-3.1 -70B-Instruct-Turbo"
21+ case strings .HasPrefix (modelLower , "llama-3.3 -70b" ):
22+ realModel = "meta-llama/Llama-3.3 -70B-Instruct-Turbo"
2323 case strings .HasPrefix (modelLower , "mixtral-8x7b" ):
2424 realModel = "mistralai/Mixtral-8x7B-Instruct-v0.1"
2525 }
Original file line number Diff line number Diff line change @@ -96,9 +96,10 @@ func (h *Handler) engines(c *gin.Context) {
9696 // Supported models
9797 modelIDs := []string {
9898 "gpt-4o-mini" ,
99+ "o3-mini" ,
99100 "gpt-3.5-turbo-0125" ,
100101 "claude-3-haiku-20240307" ,
101- "meta-llama/Llama-3-70b-chat-hf " ,
102+ "meta-llama/Llama-3.3-70B-Instruct-Turbo " ,
102103 "mistralai/Mixtral-8x7B-Instruct-v0.1" ,
103104 }
104105
Original file line number Diff line number Diff line change 24772477 < label for ="preSetModel " data-i18n-key ="gptModel "> </ label >
24782478 < select id ="preSetModel ">
24792479 < option value ="gpt-4o-mini "> gpt-4o-mini</ option >
2480+ < option value ="o3-mini "> o3-mini</ option >
24802481 < option value ="claude-3-haiku-20240307 "> claude-3-haiku-20240307</ option >
2481- < option value ="llama-3.1 -70b "> llama-3.1 -70b</ option >
2482+ < option value ="llama-3.3 -70b "> llama-3.3 -70b</ option >
24822483 < option value ="mixtral-8x7b "> mixtral-8x7b</ option >
24832484 </ select >
24842485 </ div >
You can’t perform that action at this time.
0 commit comments