Agent reads: measure the smaller default page and the many-reads note on the benchmark
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- developer-experience
Línea de trabajo
Start with src/main/tools/files.ts and the existing shownReads behavior described in the issue. Measure reads per task and input tokens on the agent benchmarks in #49 and #135, including how often the model responds to the note with reread: true. Use those results to decide whether to implement the smaller default page or the soft warning; done means the chosen change is measured and edits still work if the default page changes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Follow-up to #314, whose first point is done: a repeated read_file of the same lines of an unchanged file in one run now returns a one-line note instead of the text (shownReads in src/main/tools/files.ts, reset when a run starts).
Left from #314's proposal:
- Smaller default page.
read_filereturns up to 2,000 lines (30,000 characters) by default. A smaller default with the total line count in the result could stop whole-file reads of large files when the agent needs one function. Check that edits still work, sinceedit_fileandwrite_fileneed the file read first (any page marks it read). - A soft warning after many reads in one turn, for example a note appended to the tool result after N reads without an edit, suggesting
greporfind_definition. - Measure. Reads per task and input tokens before and after, on the agent benchmark (#49, #135), including how often the model answers the new note with
reread: true.
Measure first (3): if the note already removes most of the cost, 1 and 2 may not be worth it.
- Lenguaje dominante
- TypeScript
- Estrellas
- 2
- Forks
- 2
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin 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.
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
vercel-labs/durable-harness#53 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: Redesign tab bars ignore clicks on Linux: hidden chat layers keep window drag regionsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
experiência: a doc manda subir para o Micro do Supabase, mas não diz que exige plano pago nem quanto custaPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoarea/docs area/ui enhancement
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
melgarafael/DeskcommCRM#4098 ·
Los mantenedores suelen responder en 1 día
-
bug ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
kerti/balances-v2#801 ·
Los mantenedores suelen responder en 1 día
-
lesson-submission pending-review
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
Ikalus1988/MisakaNet#4510 ·
Los mantenedores suelen responder en 1 día