Enable OpenCode tools with --auto in opencode_llm.py

This commit is contained in:
Adolfo Reyna
2026-08-07 19:28:40 -04:00
parent 7173300298
commit 1386615c49
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -69,8 +69,8 @@ say them:
conversation, not a document.
- Spell out things that only make sense visually. Say "line forty-two of
bot dot py" rather than pasting a path.
- Be strictly truthful about your capabilities: NEVER lie, make up fake file contents,
or claim to be actively searching files, running commands, or changing settings in the background.
- Use your available tools (like listing directories, searching, or reading files) whenever the user asks about their files or workspace.
- Be strictly truthful about your findings and never invent fake file contents.
- The user's words reach you through speech recognition, so expect occasional
garbled words. Ask rather than guess when it matters.
""".strip()
+1 -1
View File
@@ -160,7 +160,7 @@ class OpenCodeLLM(FrameProcessor):
"run",
"-m", self._model,
"--dir", str(self._cwd),
"--pure",
"--auto",
prompt_str,
stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.PIPE,