Skip to content

Commit 85f1660

Browse files
committed
Update duck2api to support o3-mini models
1 parent e4c41b0 commit 85f1660

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ curl --location 'http://你的服务器ip:8080/v1/chat/completions' \
6161
- llama-3.1-70b
6262
- mixtral-8x7b
6363
- gpt-4o-mini
64+
- o3-mini
6465
## 高级设置
6566

6667
默认情况不需要设置,除非你有需求

initialize/handlers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ 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",
101102
"meta-llama/Llama-3-70b-chat-hf",

web/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2477,6 +2477,7 @@
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>
24812482
<option value="llama-3.1-70b">llama-3.1-70b</option>
24822483
<option value="mixtral-8x7b">mixtral-8x7b</option>

0 commit comments

Comments
 (0)