CommandCodeAI / CommandCodeAI/command-code
Tool Call Repair: Invalid input for tool "grep" - The tool call failed because the patterns are missing.
Nessuno ha ancora preso questa issue.
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 4k
- Fork
- 350
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Non vengono nominati file sorgente, test o punti di ingresso. Inizia riproducendo la trascrizione di DeepSeek v4 Pro su macOS con la versione 0.40.8, quindi traccia il percorso della chiamata allo strumento grep quando il pattern non è definito. Il lavoro è completato quando l’agente non effettua una chiamata grep non valida e gestisce l’assenza del pattern senza fallire.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- shell
- Ambito
- ai, cli
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100