Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

v0.3 gRPC and REST SendMessage return no history when history_length is not set

已关闭
#1,305 0 条评论 0 个 reaction 已指派 2 人 在 GitHub 查看

维护者通常 2 天内回复

@rohityan 已经在做这个了。

开始于 2026年10月2日。

评估

这个 Issue 还没有评估数据。

描述

What happens

A v0.3 gRPC or REST client that sends a message without history_length gets the task back with empty history. GetTask on the same task returns the history.

Why

history_length is a plain int32 in the v0.3 proto, so unset arrives as 0. FromProto.message_send_configuration (compat/v0_3/proto_utils.py:796) passes that 0 through, and the core handler then trims history to 0. The v0.3 proto says 0 means unlimited (a2a_v0_3.proto:121), and FromProto.task_query_params (:922) already maps 0 to None for GetTask.

Version

main @ ee61dc1

主要语言
Python
星标
2.2k
派生
509
平均合并
3 天 18 小时
30 天内合并 PR
44

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

a2aproject/a2a-python 的其他 Issue

查看 a2aproject/a2a-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。