Inkling 2 mini unable to call the `edit` tool
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 25/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- typescript
- Domínio
- developer-experience
Direção de pesquisa
The failure concerns how the model is prompted to pick the edit tool over shell, so start with the system prompt and tool descriptions that OpenCode sends to the model, and the edit tool's implementation. Reproducing needs the Inkling 2 mini model, which a newcomer may not have. Done means the model reliably calls edit on a simple file change without looping on shell calls, which likely needs maintainer input on the prompt design.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Description
For some reason, Inkling 2 mini cannot call OpenCode's edit tool.
It will always result in looping endlessly. I don't know if anything can/must be done on OpenCode's side, maybe a system prompt adjustment?
The model will keep calling shell instead of edit like this:
===== [85] seq 847 | shell | call call_b9ec76ab6cd98882 | status completed | exit 0 =====
INPUT: {"command": "true"}
OUTPUT:
(no output)
===== [86] seq 857 | shell | call call_e7212e738fa58cf8 | status completed | exit 0 =====
INPUT: {"command": "true"}
OUTPUT:
(no output)
Plugins
none
OpenCode version
2.4.2
Steps to reproduce
Load up Inkling-2-mini, tell it to edit any file, it will resort to python3 heredoc substitution or sed, if you tell it to use only edit and nothing else, it will fail and loop "echo " or "true" shell calls.
Screenshot
Operating System
Linux
Terminal
Konsole
- Linguagem predominante
- TypeScript
- Estrelas
- 230k
- Forks
- 31.3k
- Merge médio
- 5h 32min
- PRs com merge (30d)
- 453
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de anomalyco/opencode
-
area/desktop platform/macos status/repro-plausible type/bug version/v2
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 88/100
anomalyco/opencode#67064 · 4 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 Meio dia Facilidade para iniciantes 82/100
anomalyco/opencode#67009 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
area/web type/feature version/v2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
anomalyco/opencode#67001 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
skills: a Claude-compatible SKILL.md that fails to parse is dropped without any logTalvez já em andamento @liwenjie200543 assumiu há 2 dias. Abertaarea/plugins platform/linux reproduced type/bug version/v2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
anomalyco/opencode#66970 · 4 comentários ·
Mantenedores costumam responder em até 1 dia
-
tui: Mermaid renderer displays <b>/<strong> tags literally and ignores \n line breaksTalvez já em andamento @argszero assumiu há 2 dias. Abertaarea/tui platform/wsl status/repro-simulated type/bug version/v2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
anomalyco/opencode#66773 · 4 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de anomalyco/opencode
Issues semelhantes
-
enhancement feature/signals self-driving team/self-driving
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
PostHog/posthog#144208 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug good first issue web
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
triage: not actionable
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
oxc-project/oxc#30518 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug Claude useability
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
wazuh/wazuh-dashboard-plugins#9751 ·
Mantenedores costumam responder em até 1 dia