chore: update go-openai dependency to v1.36.1 and improve OpenAI client configuration in headmasterHandler

This commit is contained in:
lixiangwuxian
2025-01-09 02:03:47 +08:00
parent 72d2aad13e
commit a2d8fe5e79
3 changed files with 7 additions and 4 deletions

2
go.mod
View File

@@ -13,7 +13,7 @@ require (
github.com/gorilla/websocket v1.5.3
github.com/jmoiron/sqlx v1.4.0
github.com/mattn/go-sqlite3 v1.14.23
github.com/sashabaranov/go-openai v1.30.3
github.com/sashabaranov/go-openai v1.36.1
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c
golang.org/x/image v0.21.0
golang.org/x/net v0.30.0