129 lines
3.7 KiB
JSON
129 lines
3.7 KiB
JSON
{
|
|
"currentIndex": 1,
|
|
"tabs": [
|
|
{
|
|
"name": "空白测试 2",
|
|
"icon": "icon-blank",
|
|
"type": "blank",
|
|
"componentIndex": -1,
|
|
"storage": {}
|
|
},
|
|
{
|
|
"name": "交互测试",
|
|
"icon": "icon-robot",
|
|
"type": "blank",
|
|
"componentIndex": 3,
|
|
"storage": {
|
|
"messages": [
|
|
{
|
|
"role": "user",
|
|
"content": "今天天气",
|
|
"extraInfo": {
|
|
"created": 1745498953049,
|
|
"serverName": "Huoshan DeepSeek"
|
|
}
|
|
},
|
|
{
|
|
"role": "assistant",
|
|
"content": "",
|
|
"tool_calls": [
|
|
{
|
|
"id": "call_zw5axi9gftk294vifdlfv83y",
|
|
"index": 0,
|
|
"type": "function",
|
|
"function": {
|
|
"name": "puppeteer_navigate",
|
|
"arguments": "{\"url\":\"https://www.weather.com\"}"
|
|
}
|
|
}
|
|
],
|
|
"extraInfo": {
|
|
"created": 1745498953891,
|
|
"serverName": "Huoshan DeepSeek"
|
|
}
|
|
},
|
|
{
|
|
"role": "tool",
|
|
"tool_call_id": "call_zw5axi9gftk294vifdlfv83y",
|
|
"content": "[{\"type\":\"text\",\"text\":\"Navigated to https://www.weather.com\"}]",
|
|
"extraInfo": {
|
|
"created": 1745498965901,
|
|
"serverName": "Huoshan DeepSeek"
|
|
}
|
|
},
|
|
{
|
|
"role": "assistant",
|
|
"content": "",
|
|
"tool_calls": [
|
|
{
|
|
"id": "call_enwp8eh9q0rklmz1cr0lfinx",
|
|
"index": 0,
|
|
"type": "function",
|
|
"function": {
|
|
"name": "puppeteer_evaluate",
|
|
"arguments": "{\"script\":\"document.querySelector('.CurrentConditions--tempValue--3KcTQ').innerText\"}"
|
|
}
|
|
}
|
|
],
|
|
"extraInfo": {
|
|
"created": 1745498967051,
|
|
"serverName": "Huoshan DeepSeek"
|
|
}
|
|
},
|
|
{
|
|
"role": "assistant",
|
|
"content": "错误: 工具调用失败: [object Object]",
|
|
"extraInfo": {
|
|
"created": 1745498967057,
|
|
"serverName": "Huoshan DeepSeek"
|
|
}
|
|
}
|
|
],
|
|
"settings": {
|
|
"modelIndex": 8,
|
|
"enableTools": [
|
|
{
|
|
"name": "puppeteer_navigate",
|
|
"description": "Navigate to a URL",
|
|
"enabled": true
|
|
},
|
|
{
|
|
"name": "puppeteer_screenshot",
|
|
"description": "Take a screenshot of the current page or a specific element",
|
|
"enabled": true
|
|
},
|
|
{
|
|
"name": "puppeteer_click",
|
|
"description": "Click an element on the page",
|
|
"enabled": true
|
|
},
|
|
{
|
|
"name": "puppeteer_fill",
|
|
"description": "Fill out an input field",
|
|
"enabled": true
|
|
},
|
|
{
|
|
"name": "puppeteer_select",
|
|
"description": "Select an element on the page with Select tag",
|
|
"enabled": true
|
|
},
|
|
{
|
|
"name": "puppeteer_hover",
|
|
"description": "Hover an element on the page",
|
|
"enabled": true
|
|
},
|
|
{
|
|
"name": "puppeteer_evaluate",
|
|
"description": "Execute JavaScript in the browser console",
|
|
"enabled": true
|
|
}
|
|
],
|
|
"enableWebSearch": false,
|
|
"temperature": 0.7,
|
|
"contextLength": 10,
|
|
"systemPrompt": ""
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |