mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-29 12:44:59 +01:00
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,6 +5,7 @@ node_modules
|
|||||||
.env
|
.env
|
||||||
.idea
|
.idea
|
||||||
.vscode
|
.vscode
|
||||||
|
*~
|
||||||
openapi.json
|
openapi.json
|
||||||
playground
|
playground
|
||||||
tmp
|
tmp
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
## Tool Calling
|
## Tool Calling
|
||||||
|
|
||||||
- ALWAYS USE PARALLEL TOOLS WHEN APPLICABLE. Here is an example illustrating how to execute 3 parallel file reads in this chat environnement:
|
- ALWAYS USE PARALLEL TOOLS WHEN APPLICABLE. Here is an example illustrating how to execute 3 parallel file reads in this chat environment:
|
||||||
|
|
||||||
json
|
json
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ Usage notes:
|
|||||||
Example usage (NOTE: The agents below are fictional examples for illustration only - use the actual agents listed above):
|
Example usage (NOTE: The agents below are fictional examples for illustration only - use the actual agents listed above):
|
||||||
|
|
||||||
<example_agent_descriptions>
|
<example_agent_descriptions>
|
||||||
"code-reviewer": use this agent after you are done writing a signficant piece of code
|
"code-reviewer": use this agent after you are done writing a significant piece of code
|
||||||
"greeting-responder": use this agent when to respond to user greetings with a friendly joke
|
"greeting-responder": use this agent when to respond to user greetings with a friendly joke
|
||||||
</example_agent_description>
|
</example_agent_description>
|
||||||
|
|
||||||
@@ -45,7 +45,7 @@ function isPrime(n) {
|
|||||||
}
|
}
|
||||||
</code>
|
</code>
|
||||||
<commentary>
|
<commentary>
|
||||||
Since a signficant piece of code was written and the task was completed, now use the code-reviewer agent to review the code
|
Since a significant piece of code was written and the task was completed, now use the code-reviewer agent to review the code
|
||||||
</commentary>
|
</commentary>
|
||||||
assistant: Now let me use the code-reviewer agent to review the code
|
assistant: Now let me use the code-reviewer agent to review the code
|
||||||
assistant: Uses the Task tool to launch the code-reviewer agent
|
assistant: Uses the Task tool to launch the code-reviewer agent
|
||||||
|
|||||||
Reference in New Issue
Block a user