Legacy handler ignores history_length on message/stream
维护者通常 3 天内回复
评估
这个 Issue 还没有评估数据。
描述
What happens
With the legacy request handler, message/stream with history_length=0 still returns the full history on Task events, and history_length=-1 is not rejected. message/send trims and rejects both correctly.
Why
LegacyRequestHandler.on_message_send calls validate_history_length and apply_history_length (default_request_handler.py), but on_message_send_stream calls neither. The v2 handler already applies it on streams.
Version
main @ d316d0e
- 主要语言
- Python
- 星标
- 2.2k
- 派生
- 518
- 平均合并
- 3 天 23 小时
- 30 天内合并 PR
- 41
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
a2aproject/a2a-python 的其他 Issue
-
[Bug]: `A2A-Version` validation ignores minor versions and the query parameter可能已有人在做 @rohityan 于 57 天前认领。 未关闭component: server status:awaiting response
难度 2/5 1-3 小时 新手友好度 75/100
a2aproject/a2a-python#1204 · 3 条评论 · 已指派 1 人 ·
维护者通常 3 天内回复
-
[Bug]: REST task/request id sanitization可能已有人在做 @Linux2010 于 115 天前认领。 未关闭maintainers-only
难度 2/5 1-3 小时 新手友好度 65/100
a2aproject/a2a-python#805 · 1 条评论 ·
维护者通常 3 天内回复
-
v0.3 client returns an empty status message and provider when they are unset可能已有人在做 @rohityan 于 1 天前认领。 未关闭
a2aproject/a2a-python#1361 · 已指派 2 人 ·
维护者通常 3 天内回复
-
[Bug]: VersionedDatabaseTaskStore get() and delete() fail with "no such table" when initialize() was not called可能已有人在做 @rohityan 于 1 天前认领。 未关闭
a2aproject/a2a-python#1356 · 已指派 2 人 ·
维护者通常 3 天内回复
-
[Bug]: Executor failure right after its Task is enqueued leaves the task SUBMITTED on DatabaseTaskStore可能已有人在做 @Iwaniukooo11 于 2 天前认领。 未关闭component: server
a2aproject/a2a-python#1351 · 已指派 2 人 ·
维护者通常 3 天内回复
查看 a2aproject/a2a-python 的全部 Issue
相似的 Issue
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 78/100
yunaremaia/proto-drift#22 ·
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 82/100
yunaremaia/memwatch#96 ·
-
bug good first issue
难度 1/5 1 小时以内 新手友好度 91/100
yunaremaia/ci-gate-watch#34 ·
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 85/100
yunaremaia/agent-capability-attestation#64 ·
维护者通常 1 天内回复
-
bug good first issue
难度 1/5 1 小时以内 新手友好度 86/100
yunaremaia/agent-call-graph#43 ·
维护者通常 1 天内回复