CommandCodeAI / CommandCodeAI/command-code
Tool Call Repair: Invalid input for tool "grep" - The tool call failed because the patterns are missing.
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 4k
- Forks
- 350
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Es werden keine Quelldateien, Tests oder Einstiegspunkte genannt. Beginne damit, das DeepSeek v4 Pro-Transkript unter macOS mit Version 0.40.8 zu reproduzieren, und verfolge dann den grep-Tool-Call-Pfad, wenn das Muster nicht definiert ist. Als erledigt gilt die Aufgabe, wenn der Agent keinen ungültigen grep-Aufruf ausführt und das fehlende Muster behandelt, ohne fehlschlagen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- shell
- Bereich
- ai, cli
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100