Skip to content

Version 0.1.6

Choose a tag to compare

@sunhailin-Leo sunhailin-Leo released this 16 Oct 05:24
· 11 commits to main since this release

Version 0.1.6 - 2025/10/16

新增功能 (New Features)

  • 增加 example 代码,展示使用 schedule 装饰器
  • 增加 httpx 的 json monkey patch
    • 可以通过环境变量 JSON_LIB 控制使用 ujson 或 orjson
  • 利用 httpx 的 hook 方式增加自定义 path 的使用
  • 增加 patch_openai,用于兼容自定义 embedding 接口的返回格式

性能优化 (Performance Optimization)

  • 更新 hedged_request_proportion 默认值

文档与测试 (Documentation & Testing)

  • 添加单元测试代码

移除功能 (Removed Features)

  • 移除 speed_up_retry,替换为 schedule
  • 移除 embeddings 相关接口中 custom_url 的参数

Version 0.1.6 - 2025/10/16

New Features

  • Added example code to demonstrate the usage of the schedule decorator
  • Added json monkey patch for httpx
    • The environment variable JSON_LIB can be used to control whether to use ujson or orjson
  • Utilized httpx hooks to add support for custom paths
  • Added patch_openai to maintain compatibility with custom embedding interface return formats

Performance Optimization

  • Updated the default value of hedged_request_proportion

Documentation & Testing

  • Added unit test code

Removed Features

  • Removed speed_up_retry, replaced with schedule
  • Removed the custom_url parameter from embedding-related interfaces