返回全部动态

Agno v3.1.2 发布:新增对话压缩与 Codex 适配器

原标题:v3.1.2

Agno Releases一手来源开源质量 76

AI 摘要

Agno 发布 v3.1.2 版本,新增对话压缩功能,通过 CompactionRecord 将历史轮次折叠为摘要以控制上下文窗口,且不重写已存储消息。同时新增 OpenAI Codex 外部代理适配器、HyDE 查询转换检索钩子、浏览器来源策略等特性,并修复审批记录、模型响应缓存、使用指标等多项问题。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

# Changelog ## New Features: - **Conversation Compaction**: `Agent(compaction=True)` keeps long sessions inside the context window by folding older turns into a summary. Stored messages are never rewritten: a `CompactionRecord` in the new `agno_compactions` table drives a derived model payload, so removing the record restores the full conversation. Tune with `Compaction(model=..., compact_at_tokens=..., uncompacted_runs=...)`, fold on demand with `agent.compact()` / `acompact()`, and inspe


发布时间:2026-10-09 03:52
抓取时间:2026-10-09 04:36
来源机构:Agno
阅读原文github.com