发布

  • refactor(runtime): enhance `NewUtlsHTTPClient` with context-based RoundTripper

    frostbyte_neo 发布于 2026-06-02 22:58:26 +00:00 | 715 次提交 在此版本后已推送到 main

    • Updated NewUtlsHTTPClient to support context-aware RoundTrippers for protected hosts (e.g., Cloudflare bypass).
    • Replaced anthropicHosts with utlsProtectedHosts to generalize host handling logic.
    • Added unit test to validate context-based RoundTripper behavior.
    • Replaced NewProxyAwareHTTPClient with NewUtlsHTTPClient in relevant executors for improved TLS fingerprinting.

    Closes: #3680

    下载附件