Use the AI SDK's native message history in the agent
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
Start by finding the service that builds the single summary message before every model call, and the point where tool calls are flattened to just a name and status. Read the referenced threads #9119, #9120, #9244 and #9259 to see what the summary currently drops, and where #9423's last-execution report and #9424's docs section would move. Done means the SDK's own message history is kept as-is with one dataflow block appended, and the rendered chat looks the same as today; compare the agent's existing chat output before and after.
索引モデルが issue の本文から書いたものです。
説明
Task Summary
Before every model call, the service drops the message history and writes one summary message instead. Since #9244, a past tool call also shows its summary and the first line of its result, but not its other arguments or the rest of the result, and the whole summary message is written again before every call. Every new tool also needs its own section in that summary, and the system prompt spends 1.4 KB describing its format.
Keep the SDK's messages as they happen, and append one block with the current dataflow. The chat should look the same as today.
- Run the loop as the SDK's
ToolLoopAgent, and pass only the enabled tools withactiveTools(what #9149 does by hand). - Build each step from
initialMessages,responseMessagesand the dataflow block. In AI SDK 7, messages returned fromprepareStepcarry over to later steps, so returning them would stack one block per step. - Drop the description of the context format from the system prompt.
- The same message list is what the chat loads when it opens (#9482).
#9244 and #9259 fix the summary; this replaces it. #9423's report on the user's last execution moves into the dataflow block, and the docs section that #9424 adds is no longer needed.
Task Type
- Refactor / Cleanup
- DevOps / Deployment / CI
- Testing / QA
- Documentation
- Performance
- Other
- 主要言語
- Scala
- スター
- 333
- フォーク
- 202
- 平均マージ
- 3日 11時間
- マージ済み PR(30日)
- 185
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/texera のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
addOperator returns an error but still adds the operator対応中かも @sunny-kavixo が 5 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apache/texera#9121 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Failed tool calls are marked as succeeded (isError is always false)対応中かも @oliarmak-web が 14 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
apache/texera#9120 · コメント 8 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
apache/texera#8682 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
? - Needs Triage bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
NVIDIA/cudf-spark#16937 ·
メンテナーはふだん 1 日以内に返信
-
LFST not-issued-store count truncation can incorrectly clear strictShouldWait対応中かも @weidingliu が今日担当しました。 オープンmodule: memory type: bug/reported
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
OpenXiangShan/XiangShan#6974 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
bug indigo
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
PurpleKingdomGames/indigoengine#300 · コメント 1 件 ·
-
JavaReservoirSampleOperator returns the whole input when the dataset size is unknown対応中かも @sasmith-14 が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
apache/wayang#884 · コメント 3 件 ·
メンテナーはふだん 2 日以内に返信
-
AI Generated CI/CD ⚒️ Flaky-tests 🐦 python 🐍
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
valkey-io/valkey-glide#7722 ·
メンテナーはふだん 1 日以内に返信