Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/opencode/src/session/prompt/default.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ assistant: ls

<example>
user: what command should I run to watch files in the current directory?
assistant: [use the ls tool to list the files in the current directory, then read docs/commands in the relevant file to find out how to watch files]
assistant: Use read to inspect files in the current directory, then read docs/commands in the relevant file to find out how to watch files.
npm run dev
</example>

Expand All @@ -50,7 +50,7 @@ assistant: 150000

<example>
user: what files are in the directory src/?
assistant: [runs ls and sees foo.c, bar.c, baz.c]
assistant: [tool_call: read for path '/path/to/project/src', reads 'src/' and sees foo.c, bar.c, baz.c]
user: which file contains the implementation of foo?
assistant: src/foo.c
</example>
Expand Down
2 changes: 1 addition & 1 deletion packages/opencode/src/session/prompt/gemini.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ model: true

<example>
user: list files here.
model: [tool_call: ls for path '/path/to/project']
model: [tool_call: read for path '/path/to/project']
</example>

<example>
Expand Down
4 changes: 2 additions & 2 deletions packages/opencode/src/session/prompt/trinity.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ assistant: ls

<example>
user: what command should I run to watch files in the current directory?
assistant: [use the ls tool to list the files in the current directory, then read docs/commands in the relevant file to find out how to watch files]
assistant: Use the read tool to inspect files in the current directory, then read docs/commands in the relevant file to find out how to watch files.
npm run dev
</example>

Expand All @@ -42,7 +42,7 @@ assistant: 150000

<example>
user: what files are in the directory src/?
assistant: [runs ls and sees foo.c, bar.c, baz.c]
assistant: [tool_call: read for path '/path/to/project/src', reads 'src/' and sees foo.c, bar.c, baz.c]
user: which file contains the implementation of foo?
assistant: src/foo.c
</example>
Expand Down