CommandCodeAI / CommandCodeAI/command-code
Tool Call Repair: Invalid input for tool "grep" - The tool call failed because the patterns are missing.
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 4k
- Forks
- 350
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Summary
Seeing a few tool call fails with DeepSeek v4 Pro:
✻ Thought for 1 second
The user wants the search to also find scheduling requests for people who are associated with a company (i.e., people who work at a company),
not just direct company/people matches. So if I search for a company name, I should also find scheduling requests where that company's people
are listed as participants.
Let me look at the relationship between people and companies - there's probably a `people`.`current_company` field or a `relationships` table
that links people to companies.
⠶ Let me check how people are associated with companies.
SEARCH ["undefined" in files]
│ Invalid input for tool "grep". Please correct and retry:
└ • pattern: Invalid input: expected string, received undefined
SEARCH ["undefined" in files]
│ Invalid input for tool "grep". Please correct and retry:
└ • pattern: Invalid input: expected string, received undefined
✻ Thought for 1 second
The tool call failed because the patterns are missing. Let me check the schema and how people relate to companies.
Expected Behavior
Not to fail.
Actual Behavior
See above
Steps to reproduce the issue
Not sure.
Command Code Version
0.40.8
Operating System
macOS
Terminal/IDE
ghostty
Shell
zsh
Additional context
No response
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
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.
Línea de trabajo
No se nombran archivos de código fuente, pruebas ni puntos de entrada. Empieza reproduciendo la transcripción de DeepSeek v4 Pro en macOS con la versión 0.40.8 y, después, sigue la ruta de llamada a herramienta de grep cuando el patrón no está definido. Se considera terminado cuando el agente no emite una llamada a grep no válida y gestiona la ausencia del patrón sin fallar.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- shell
- Área
- ai, cli
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Tranquilo
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100