Skip to content

Commit aa1677c

Browse files
committed
1.增大max tokens以支持思考模型 2.修改提示词,破甲gpt-5.4
1 parent 97847d6 commit aa1677c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

register/signup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,13 +301,13 @@ def recognize_captcha_with_vision(captcha_base64: str, config: dict) -> str:
301301
"content": [
302302
{
303303
"type": "text",
304-
"text": "Please identify the text/characters shown in this captcha image. Output only the captcha text, nothing else. The captcha typically consists of 6 alphanumeric characters and is case-sensitive.",
304+
"text": "识别图片中的字符,区分大小写,直接返回字符串",
305305
},
306306
{"type": "image_url", "image_url": {"url": f"data:image/png;base64,{png_base64}"}},
307307
],
308308
}
309309
],
310-
"max_tokens": 50,
310+
"max_tokens": 4096,
311311
"temperature": 0,
312312
}
313313

0 commit comments

Comments
 (0)