Use the AI SDK's native message history in the agent
Les mainteneurs répondent en général sous 1 jour
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- Scala
- Étoiles
- 333
- Forks
- 202
- Merge moyen
- 3 j 11 h
- PR mergées (30 j)
- 185
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de apache/texera
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
addOperator returns an error but still adds the operatorPeut-être pris @sunny-kavixo l’a pris il y a 5 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
apache/texera#9121 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Failed tool calls are marked as succeeded (isError is always false)Peut-être pris @oliarmak-web l’a pris il y a 14 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 80/100
apache/texera#9120 · 8 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
apache/texera#8682 · 5 commentaires ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de apache/texera
Issues similaires
-
Stale docs versionOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
-
? - Needs Triage bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
NVIDIA/cudf-spark#16937 ·
Les mainteneurs répondent en général sous 1 jour
-
LFST not-issued-store count truncation can incorrectly clear strictShouldWaitPeut-être pris @weidingliu l’a pris aujourd’hui. Ouvertemodule: memory type: bug/reported
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
OpenXiangShan/XiangShan#6974 · 1 commentaire · 1 personne assignée ·
Les mainteneurs répondent en général sous 3 jours
-
bug indigo
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
PurpleKingdomGames/indigoengine#300 · 1 commentaire ·
-
JavaReservoirSampleOperator returns the whole input when the dataset size is unknownPeut-être pris @sasmith-14 l’a pris il y a 2 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
apache/wayang#884 · 3 commentaires ·
Les mainteneurs répondent en général sous 2 jours