mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-13 04:03:30 +00:00
144 lines
4.7 KiB
JSON
144 lines
4.7 KiB
JSON
[
|
|
{
|
|
"tools": [
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "pwsh",
|
|
"description": "Run commands in a PowerShell shell\n* When invoking this tool, the contents of the \"command\" parameter does NOT need to be XML-escaped.\n* You don't have access to the internet via this tool.\n* State is persistent across command calls and discussions with the user.\n* Use native Windows paths (C:\\...) and $env:NAME variables; this is PowerShell, not bash.\n* Please avoid commands that may produce a very large amount of output.\n* Please run long lived commands in the background, e.g. 'Start-Job' or start a server with Start-Process.",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"command": {
|
|
"type": "string",
|
|
"description": "The PowerShell command to run. Relative path is preferred in the command."
|
|
}
|
|
},
|
|
"required": [
|
|
"command"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"messages": [
|
|
{
|
|
"role": "system",
|
|
"text": "You are a helpful software engineer assistant."
|
|
},
|
|
{
|
|
"role": "user",
|
|
"text": "Exercise the packaged minimal agent's persistent shell."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tools": [
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "pwsh",
|
|
"description": "Run commands in a PowerShell shell\n* When invoking this tool, the contents of the \"command\" parameter does NOT need to be XML-escaped.\n* You don't have access to the internet via this tool.\n* State is persistent across command calls and discussions with the user.\n* Use native Windows paths (C:\\...) and $env:NAME variables; this is PowerShell, not bash.\n* Please avoid commands that may produce a very large amount of output.\n* Please run long lived commands in the background, e.g. 'Start-Job' or start a server with Start-Process.",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"command": {
|
|
"type": "string",
|
|
"description": "The PowerShell command to run. Relative path is preferred in the command."
|
|
}
|
|
},
|
|
"required": [
|
|
"command"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"messages": [
|
|
{
|
|
"role": "system",
|
|
"text": "You are a helpful software engineer assistant."
|
|
},
|
|
{
|
|
"role": "user",
|
|
"text": "Exercise the packaged minimal agent's persistent shell."
|
|
},
|
|
{
|
|
"role": "assistant",
|
|
"toolCalls": [
|
|
{
|
|
"id": "minimal-bash-1",
|
|
"name": "pwsh"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"role": "tool",
|
|
"toolCallId": "minimal-bash-1",
|
|
"text": "{{tool-result}}"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tools": [
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "pwsh",
|
|
"description": "Run commands in a PowerShell shell\n* When invoking this tool, the contents of the \"command\" parameter does NOT need to be XML-escaped.\n* You don't have access to the internet via this tool.\n* State is persistent across command calls and discussions with the user.\n* Use native Windows paths (C:\\...) and $env:NAME variables; this is PowerShell, not bash.\n* Please avoid commands that may produce a very large amount of output.\n* Please run long lived commands in the background, e.g. 'Start-Job' or start a server with Start-Process.",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"command": {
|
|
"type": "string",
|
|
"description": "The PowerShell command to run. Relative path is preferred in the command."
|
|
}
|
|
},
|
|
"required": [
|
|
"command"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"messages": [
|
|
{
|
|
"role": "system",
|
|
"text": "You are a helpful software engineer assistant."
|
|
},
|
|
{
|
|
"role": "user",
|
|
"text": "Exercise the packaged minimal agent's persistent shell."
|
|
},
|
|
{
|
|
"role": "assistant",
|
|
"toolCalls": [
|
|
{
|
|
"id": "minimal-bash-1",
|
|
"name": "pwsh"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"role": "tool",
|
|
"toolCallId": "minimal-bash-1",
|
|
"text": "{{tool-result}}"
|
|
},
|
|
{
|
|
"role": "assistant",
|
|
"toolCalls": [
|
|
{
|
|
"id": "minimal-bash-2",
|
|
"name": "pwsh"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"role": "tool",
|
|
"toolCallId": "minimal-bash-2",
|
|
"text": "{{tool-result}}"
|
|
}
|
|
]
|
|
}
|
|
]
|