Use the AI SDK's native message history in the agent
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Scala
- Estrellas
- 333
- Forks
- 202
- Merge medio
- 3 d 11 h
- PR fusionados (30 d)
- 185
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/texera
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
addOperator returns an error but still adds the operatorPosiblemente ocupada @sunny-kavixo la tomó hace 5 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
apache/texera#9121 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Failed tool calls are marked as succeeded (isError is always false)Posiblemente ocupada @oliarmak-web la tomó hace 14 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
apache/texera#9120 · 8 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
apache/texera#8682 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de apache/texera
Issues similares
-
? - Needs Triage bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
NVIDIA/cudf-spark#16937 ·
Los mantenedores suelen responder en 1 día
-
LFST not-issued-store count truncation can incorrectly clear strictShouldWaitPosiblemente ocupada @weidingliu la tomó hoy. Abiertomodule: memory type: bug/reported
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
OpenXiangShan/XiangShan#6974 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
bug indigo
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
PurpleKingdomGames/indigoengine#300 · 1 comentario ·
-
JavaReservoirSampleOperator returns the whole input when the dataset size is unknownPosiblemente ocupada @sasmith-14 la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
apache/wayang#884 · 3 comentarios ·
Los mantenedores suelen responder en 2 días
-
AI Generated CI/CD ⚒️ Flaky-tests 🐦 python 🐍
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
valkey-io/valkey-glide#7722 ·
Los mantenedores suelen responder en 1 día