first commit
This commit is contained in:
32
test/fixtures/openclaw-like-request.json
vendored
Executable file
32
test/fixtures/openclaw-like-request.json
vendored
Executable file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"model": "hotwa/qwen35-9b-agent:latest",
|
||||
"stream": false,
|
||||
"messages": [
|
||||
{
|
||||
"role": "system",
|
||||
"content": "You are a helpful assistant."
|
||||
},
|
||||
{
|
||||
"role": "user",
|
||||
"content": "请读取 /tmp/test.txt 的内容"
|
||||
}
|
||||
],
|
||||
"tools": [
|
||||
{
|
||||
"type": "function",
|
||||
"function": {
|
||||
"name": "read",
|
||||
"description": "Read a file from disk",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["path"]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user