Skip to content

v3.1.5

Compare
Choose a tag to compare
@Maplemx Maplemx released this 18 Jan 03:49
· 455 commits to main since this release
dc8ffd1

New Feature:

  1. Support ZhipuAI GLM-4 and GLM-3-turbo Read here to see how to set settings
  2. Agent Component: Decorator:
    • Move @agent.auto_func into Decorator Component
    • New decorator @agent.on_event(<event_name>) to help developers to add event listener easier Read Example

Update:

  1. Update reply getter to avoid unnecessary error queue.empty to make developers easier to locate error
  2. Update tool using logic and update search result data structure to make response with search better.

Bug Fixed:

  1. Fixed unexpected error when using Gemini and proxy is not set when using old version of httpx

新功能:

  1. 支持智谱GLM-4和GLM-3-turbo在线模型 阅读此案例了解如何配置使用
  2. 新增Agent组件:Decorator函数装饰器
    • 将3.1.4版本的@agent.auto_func函数装饰器从Agent类中移动到Decorator组件里
    • 新增函数装饰器@agent.on_event(<event_name>),帮助开发者为Agent请求回复内容添加事件监听器 阅读此案例了解事件监听器的作用

功能升级:

  1. 优化了请求线程中获取最终返回值的逻辑,以避免不必要的queue.empty报错,让开发者更方便地定位错误
  2. 升级了工具调用逻辑和搜索结果数据结构,现在使用搜索工具能够获得更好的回复结果了

问题修复:

  1. 修复了一个在使用旧版httpx时,请求Gemini但未设置proxy会报错的问题