Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Fechada
#1,305 0 comentários 0 reações 2 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

@rohityan já está trabalhando nisso.

Desde 2/10/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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

Linguagem predominante
Python
Estrelas
2.2k
Forks
528
Merge médio
3d 10h
PRs com merge (30d)
48

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de a2aproject/a2a-python

Todas as issues de a2aproject/a2a-python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.