Skip to content

Commit 8f63ee6

Browse files
committed
fix: no
1 parent 47b231f commit 8f63ee6

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ _觉得有点意思的话 别忘了点个 ⭐_
2727
- **o3-mini-high**
2828
- **claude-3-5-sonnet**
2929
- **claude-3-7-sonnet**
30+
- **claude-3-7-sonnet-thinking**
3031
- **claude-3-5-haiku**
3132
- **gemini-2.0-flash**
3233
- **deep-seek-v3**
@@ -223,6 +224,7 @@ Render 可以直接部署 docker 镜像,不需要 fork 仓库:[Render](https:/
223224
```docker
224225
docker run --name genspark-playwright-proxy -d --restart always \
225226
-p 7022:7022 \
227+
-v $(pwd)/data:/app/genspark-playwright-proxy/data \
226228
-e PROXY_URL=http://account:pwd@ip:port # [可选] 推荐(住宅)动态代理,配置代理后过验证概率更高,但响应会变慢。
227229
-e TZ=Asia/Shanghai \
228230
deanxv/genspark-playwright-proxy

common/constants.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ package common
33
import "time"
44

55
var StartTime = time.Now().Unix() // unit: second
6-
var Version = "v1.11.0" // this hard coding will be replaced automatically when building, no need to manually change
6+
var Version = "v1.11.1" // this hard coding will be replaced automatically when building, no need to manually change
77

88
var DefaultOpenaiModelList = []string{
99
"gpt-4o",
1010
"o1",
1111
"o3-mini-high",
1212
"claude-3-7-sonnet",
13+
"claude-3-7-sonnet-thinking",
1314
"claude-3-5-haiku",
1415
"gemini-2.0-flash",
1516
"deep-seek-v3",
@@ -30,6 +31,7 @@ var TextModelList = []string{
3031
"o1",
3132
"o3-mini-high",
3233
"claude-3-7-sonnet",
34+
"claude-3-7-sonnet-thinking",
3335
"claude-3-5-haiku",
3436
"gemini-2.0-flash",
3537
"deep-seek-v3",

controller/chat.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,11 +1043,11 @@ func cheat(requestBody map[string]interface{}, c *gin.Context, cookie string) (m
10431043
logger.Infof(c.Request.Context(), fmt.Sprintf("cheat success!"))
10441044
return requestBody, nil
10451045
} else {
1046-
logger.Errorf(c.Request.Context(), fmt.Sprintf("读取/genspark token 失败 %v\n", err))
1046+
logger.Errorf(c.Request.Context(), fmt.Sprintf("读取/genspark token 失败,查看 playwright-proxy log"))
10471047
return nil, err
10481048
}
10491049
} else {
1050-
logger.Errorf(c.Request.Context(), fmt.Sprintf("请求/genspark失败 %v\n", err))
1050+
logger.Errorf(c.Request.Context(), fmt.Sprintf("请求/genspark失败,查看 playwright-proxy log"))
10511051
return nil, err
10521052
}
10531053
}

0 commit comments

Comments
 (0)