Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Legacy handler ignores history_length on message/stream

オープン
#1,363 コメント 0 件 リアクション 0 件 担当者 2 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

@rohityan がすでに取り組んでいます。

2026年10月20日 から。

  • #1364 @ConnorMoss02 による — オープン

評価

この 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時間
マージ済み PR(30日)
41

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

a2aproject/a2a-python のほかの issue

a2aproject/a2a-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。