Enable OpenCode tools with --auto in opencode_llm.py
This commit is contained in:
@@ -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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user