Dev#268
Merged
Merged
Conversation
- 新增util包的RandomUserAgent函数,生成主流桌面浏览器随机UA - 替换所有硬编码userAgent为defaultUserAgent()调用 - 为客户端状态加入UserAgent字段并初始化随机UA - 重构prooftoken模块,适配新的随机UA和POW逻辑
移除其他浏览器的UA模板,仅保留Edge Windows版本,匹配硬编码的sec-ch-ua头以通过Cloudflare校验,同时保留版本随机化保证指纹多样性
- bump version to 2.3.1 - update .gitignore to add new ignore patterns - update chatgpt request converter to pass client parameter - optimize chatgpt request struct tags to omit empty fields - add support for image_url message part and related file handling - add automatic continuation when max tokens reached - rewrite file upload logic with better mime detection and error handling - rewrite turnstile solver with full VM implementation - update proof token logic to align with latest ChatGPT requirements
xiaozhou26
added a commit
that referenced
this pull request
Jun 13, 2026
* feat: 更新 ConvertToString 函数以支持动态模型,并添加相关测试用例 * feat: 更新 HandlerTTS 函数以支持流式数据解析,并添加相关单元测试 * fix: 移除不再需要的 funcaptcha 依赖 * refactor: 替换固定UA为随机浏览器UA,优化指纹多样性 - 新增util包的RandomUserAgent函数,生成主流桌面浏览器随机UA - 替换所有硬编码userAgent为defaultUserAgent()调用 - 为客户端状态加入UserAgent字段并初始化随机UA - 重构prooftoken模块,适配新的随机UA和POW逻辑 * refactor(util/useragent): 限定UA模板仅为Edge Windows一族 移除其他浏览器的UA模板,仅保留Edge Windows版本,匹配硬编码的sec-ch-ua头以通过Cloudflare校验,同时保留版本随机化保证指纹多样性 * chore: release v2.3.1 and implement various feature improvements - bump version to 2.3.1 - update .gitignore to add new ignore patterns - update chatgpt request converter to pass client parameter - optimize chatgpt request struct tags to omit empty fields - add support for image_url message part and related file handling - add automatic continuation when max tokens reached - rewrite file upload logic with better mime detection and error handling - rewrite turnstile solver with full VM implementation - update proof token logic to align with latest ChatGPT requirements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.