解决编译后体积过大的问题
This commit is contained in:
parent
11ff54e2f1
commit
2b1c0c30dd
5
software/.gitignore
vendored
5
software/.gitignore
vendored
@ -10,4 +10,7 @@ resources
|
|||||||
|
|
||||||
.idea
|
.idea
|
||||||
resources
|
resources
|
||||||
setting.json
|
setting.json
|
||||||
|
*.traineddata
|
||||||
|
release
|
||||||
|
tabs.example-servers/puppeteer.json
|
BIN
software/icons/icon.icns
Normal file
BIN
software/icons/icon.icns
Normal file
Binary file not shown.
BIN
software/icons/icon.png
Normal file
BIN
software/icons/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 81 KiB |
15
software/icons/icon.svg
Normal file
15
software/icons/icon.svg
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<svg t="1745239051577" class="icon" viewBox="0 0 1024 1024" version="1.1"
|
||||||
|
xmlns="http://www.w3.org/2000/svg" p-id="1864" width="200" height="200">
|
||||||
|
<path
|
||||||
|
d="M504.45208357 26.71824755c-263.34919312 0-476.83711908 213.48792596-476.83711909 476.83711908s213.48792596 476.83711908 476.83711909 476.8371191 476.83711908-213.48792596 476.83711779-476.8371191S767.8012767 26.71824755 504.45208357 26.71824755zM94.36580322 676.77916517Q59.40410586 594.12104017 59.40410586 503.55536663q0-90.56567353 34.96169736-173.22379853 33.77755215-79.86068087 95.38967588-141.47280464 61.61212375-61.61212375 141.47280464-95.38967717Q413.88640875 58.5073889 504.45208357 58.5073889q90.56567353 0 173.22379854 34.96169739 79.86068087 33.77755215 141.47280463 95.38967717 61.61212375 61.61212375 95.3896759 141.47280464Q949.50006001 412.98969311 949.50006001 503.55536663q0 90.56567353-34.96169737 173.22221015-33.77755215 79.86227058-95.3896759 141.47439303-61.61212375 61.61212375-141.47280463 95.38967717Q595.0177571 948.60334436 504.45208357 948.60334436q-90.56567353 0-173.22221013-34.96169738-79.86227058-33.77755215-141.47439434-95.38967717-61.61212375-61.61212375-95.38967588-141.47280464z"
|
||||||
|
fill="#eee" p-id="1865"></path>
|
||||||
|
<path
|
||||||
|
d="M313.71723542 385.14081556c0-151.42757481 122.75376958-274.18134308 274.18134309-274.18134308 151.42598512 0 274.18134308 122.75376958 274.18134309 274.18134308 0 151.42598512-122.75535797 274.18134308-274.18134309 274.18134308-151.42757481 0-274.18134308-122.75535797-274.18134309-274.18134308z"
|
||||||
|
fill="#eee" p-id="1866"></path>
|
||||||
|
<path
|
||||||
|
d="M504.45208357 700.64804177c0-87.78253404 71.16317146-158.94570679 158.94570551-158.94570551s158.94570679 71.16317146 158.94570678 158.94570551-71.16317146 158.94570679-158.94570678 158.94570679-158.94570679-71.16317146-158.94570551-158.94570679zM103.90890375 542.49706496c0-48.72003846 39.49482864-88.21486711 88.21486711-88.21486711s88.21486711 39.49482864 88.21486581 88.21486711-39.49482864 88.21486711-88.21486581 88.21486711-88.21486711-39.49482864-88.21486711-88.21486711z"
|
||||||
|
fill="#eee" p-id="1867"></path>
|
||||||
|
<path
|
||||||
|
d="M625.25081944 323.94671893c0-50.0361088 40.56294439-90.59905319 90.59905319-90.59905319s90.59905319 40.56294439 90.5990519 90.59905319-40.56294439 90.59905319-90.5990519 90.5990519-90.59905319-40.56294439-90.59905319-90.5990519z"
|
||||||
|
fill="#eee" p-id="1868"></path>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.4 KiB |
3133
software/package-lock.json
generated
3133
software/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -14,6 +14,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@modelcontextprotocol/sdk": "^1.10.2",
|
"@modelcontextprotocol/sdk": "^1.10.2",
|
||||||
|
"@seald-io/nedb": "^4.1.1",
|
||||||
"axios": "^1.7.7",
|
"axios": "^1.7.7",
|
||||||
"bson": "^6.8.0",
|
"bson": "^6.8.0",
|
||||||
"openai": "^4.93.0",
|
"openai": "^4.93.0",
|
||||||
@ -25,6 +26,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/ws": "^8.18.1",
|
"@types/ws": "^8.18.1",
|
||||||
"electron": "35.0.0",
|
"electron": "35.0.0",
|
||||||
|
"electron-builder": "^24.13.3",
|
||||||
"typescript": "^5.6.3"
|
"typescript": "^5.6.3"
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
@ -33,11 +35,12 @@
|
|||||||
"asar": true,
|
"asar": true,
|
||||||
"asarUnpack": "*.node",
|
"asarUnpack": "*.node",
|
||||||
"directories": {
|
"directories": {
|
||||||
"output": "dist"
|
"output": "release"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist/**/*",
|
"dist/**/*",
|
||||||
"resources/**/*"
|
"resources/**/*",
|
||||||
|
"icons/**/*"
|
||||||
],
|
],
|
||||||
"dmg": {
|
"dmg": {
|
||||||
"contents": [
|
"contents": [
|
||||||
@ -56,23 +59,23 @@
|
|||||||
"mac": {
|
"mac": {
|
||||||
"notarize": false,
|
"notarize": false,
|
||||||
"target": {
|
"target": {
|
||||||
"target": "default",
|
"target": "default",
|
||||||
"arch": [
|
"arch": [
|
||||||
"arm64",
|
"arm64",
|
||||||
"x64"
|
"x64"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"type": "distribution",
|
"type": "distribution",
|
||||||
"hardenedRuntime": true,
|
"hardenedRuntime": true,
|
||||||
"icon": "resources/icons/icon.icns"
|
"icon": "icons/icon.icns"
|
||||||
},
|
},
|
||||||
"win": {
|
"win": {
|
||||||
"target": "nsis",
|
"target": "nsis",
|
||||||
"icon": "resources/icons/icon.ico"
|
"icon": "icons/icon.ico"
|
||||||
},
|
},
|
||||||
"linux": {
|
"linux": {
|
||||||
"target": "AppImage",
|
"target": "AppImage",
|
||||||
"icon": "resources/icons/icon.png"
|
"icon": "icons/icon.png"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,402 +0,0 @@
|
|||||||
{
|
|
||||||
"currentIndex": 0,
|
|
||||||
"tabs": [
|
|
||||||
{
|
|
||||||
"name": "交互测试",
|
|
||||||
"icon": "icon-robot",
|
|
||||||
"type": "blank",
|
|
||||||
"componentIndex": 3,
|
|
||||||
"storage": {
|
|
||||||
"messages": [
|
|
||||||
{
|
|
||||||
"role": "user",
|
|
||||||
"content": "帮我总结一下 https://zenodo.org/records/2597575 这里面的信息",
|
|
||||||
"extraInfo": {
|
|
||||||
"created": 1745912341318,
|
|
||||||
"state": "success",
|
|
||||||
"serverName": "deepseek"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "assistant",
|
|
||||||
"content": "",
|
|
||||||
"tool_calls": [
|
|
||||||
{
|
|
||||||
"id": "call_0_a7cf61c5-a34c-43f7-b106-cf94c1f6c108",
|
|
||||||
"index": 0,
|
|
||||||
"type": "function",
|
|
||||||
"function": {
|
|
||||||
"name": "puppeteer_navigate",
|
|
||||||
"arguments": "{\"url\":\"https://zenodo.org/records/2597575\"}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"extraInfo": {
|
|
||||||
"created": 1745912347456,
|
|
||||||
"state": "success",
|
|
||||||
"serverName": "deepseek"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "tool",
|
|
||||||
"tool_call_id": "call_0_a7cf61c5-a34c-43f7-b106-cf94c1f6c108",
|
|
||||||
"content": [
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"text": "Navigated to https://zenodo.org/records/2597575"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"extraInfo": {
|
|
||||||
"created": 1745912354744,
|
|
||||||
"state": "success",
|
|
||||||
"serverName": "deepseek",
|
|
||||||
"usage": {
|
|
||||||
"prompt_tokens": 965,
|
|
||||||
"completion_tokens": 32,
|
|
||||||
"total_tokens": 997,
|
|
||||||
"prompt_tokens_details": {
|
|
||||||
"cached_tokens": 896
|
|
||||||
},
|
|
||||||
"prompt_cache_hit_tokens": 896,
|
|
||||||
"prompt_cache_miss_tokens": 69
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "assistant",
|
|
||||||
"content": "",
|
|
||||||
"tool_calls": [
|
|
||||||
{
|
|
||||||
"id": "call_0_b898c42a-a96b-41d1-a3aa-8537d67409a0",
|
|
||||||
"index": 0,
|
|
||||||
"type": "function",
|
|
||||||
"function": {
|
|
||||||
"name": "puppeteer_evaluate",
|
|
||||||
"arguments": "{\"script\":\"document.title\"}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"extraInfo": {
|
|
||||||
"created": 1745912360016,
|
|
||||||
"state": "success",
|
|
||||||
"serverName": "deepseek"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "tool",
|
|
||||||
"tool_call_id": "call_0_b898c42a-a96b-41d1-a3aa-8537d67409a0",
|
|
||||||
"content": [
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"text": "Execution result:\n\"SLIVER07\"\n\nConsole output:\n"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"extraInfo": {
|
|
||||||
"created": 1745912360042,
|
|
||||||
"state": "success",
|
|
||||||
"serverName": "deepseek",
|
|
||||||
"usage": {
|
|
||||||
"prompt_tokens": 1026,
|
|
||||||
"completion_tokens": 23,
|
|
||||||
"total_tokens": 1049,
|
|
||||||
"prompt_tokens_details": {
|
|
||||||
"cached_tokens": 960
|
|
||||||
},
|
|
||||||
"prompt_cache_hit_tokens": 960,
|
|
||||||
"prompt_cache_miss_tokens": 66
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "assistant",
|
|
||||||
"content": "",
|
|
||||||
"tool_calls": [
|
|
||||||
{
|
|
||||||
"id": "call_0_73c146d6-cc67-44db-9fb1-e29b4aa905ff",
|
|
||||||
"index": 0,
|
|
||||||
"type": "function",
|
|
||||||
"function": {
|
|
||||||
"name": "puppeteer_evaluate",
|
|
||||||
"arguments": "{\"script\":\"document.querySelector('.ui.segment').innerText\"}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"extraInfo": {
|
|
||||||
"created": 1745912364986,
|
|
||||||
"state": "success",
|
|
||||||
"serverName": "deepseek"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "tool",
|
|
||||||
"tool_call_id": "call_0_73c146d6-cc67-44db-9fb1-e29b4aa905ff",
|
|
||||||
"content": [
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"text": "Execution result:\n\"6K\\n VIEWS\\n5K\\n DOWNLOADS\\n Show more details\"\n\nConsole output:\n"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"extraInfo": {
|
|
||||||
"created": 1745912364999,
|
|
||||||
"state": "success",
|
|
||||||
"serverName": "deepseek",
|
|
||||||
"usage": {
|
|
||||||
"prompt_tokens": 1080,
|
|
||||||
"completion_tokens": 30,
|
|
||||||
"total_tokens": 1110,
|
|
||||||
"prompt_tokens_details": {
|
|
||||||
"cached_tokens": 1024
|
|
||||||
},
|
|
||||||
"prompt_cache_hit_tokens": 1024,
|
|
||||||
"prompt_cache_miss_tokens": 56
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "assistant",
|
|
||||||
"content": "",
|
|
||||||
"tool_calls": [
|
|
||||||
{
|
|
||||||
"id": "call_0_79e67845-a56b-4c4f-9b0f-18ffc4256dc0",
|
|
||||||
"index": 0,
|
|
||||||
"type": "function",
|
|
||||||
"function": {
|
|
||||||
"name": "puppeteer_evaluate",
|
|
||||||
"arguments": "{\"script\":\"document.querySelector('.ui.container').innerText\"}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"extraInfo": {
|
|
||||||
"created": 1745912372020,
|
|
||||||
"state": "success",
|
|
||||||
"serverName": "deepseek"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "tool",
|
|
||||||
"tool_call_id": "call_0_79e67845-a56b-4c4f-9b0f-18ffc4256dc0",
|
|
||||||
"content": [
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"text": "Execution result:\n\"\"\n\nConsole output:\n"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"extraInfo": {
|
|
||||||
"created": 1745912372040,
|
|
||||||
"state": "success",
|
|
||||||
"serverName": "deepseek",
|
|
||||||
"usage": {
|
|
||||||
"prompt_tokens": 1158,
|
|
||||||
"completion_tokens": 29,
|
|
||||||
"total_tokens": 1187,
|
|
||||||
"prompt_tokens_details": {
|
|
||||||
"cached_tokens": 1088
|
|
||||||
},
|
|
||||||
"prompt_cache_hit_tokens": 1088,
|
|
||||||
"prompt_cache_miss_tokens": 70
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "assistant",
|
|
||||||
"content": "",
|
|
||||||
"tool_calls": [
|
|
||||||
{
|
|
||||||
"id": "call_0_bb973651-6752-4464-844c-99f1ca3103c3",
|
|
||||||
"index": 0,
|
|
||||||
"type": "function",
|
|
||||||
"function": {
|
|
||||||
"name": "puppeteer_evaluate",
|
|
||||||
"arguments": "{\"script\":\"document.querySelector('.record-metadata').innerText\"}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"extraInfo": {
|
|
||||||
"created": 1745912378594,
|
|
||||||
"state": "success",
|
|
||||||
"serverName": "deepseek"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "tool",
|
|
||||||
"tool_call_id": "call_0_bb973651-6752-4464-844c-99f1ca3103c3",
|
|
||||||
"content": [
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"text": "Script execution failed: Cannot read properties of null (reading 'innerText')"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"extraInfo": {
|
|
||||||
"created": 1745912378612,
|
|
||||||
"state": "tool call failed",
|
|
||||||
"serverName": "deepseek",
|
|
||||||
"usage": {
|
|
||||||
"prompt_tokens": 1215,
|
|
||||||
"completion_tokens": 30,
|
|
||||||
"total_tokens": 1245,
|
|
||||||
"prompt_tokens_details": {
|
|
||||||
"cached_tokens": 1152
|
|
||||||
},
|
|
||||||
"prompt_cache_hit_tokens": 1152,
|
|
||||||
"prompt_cache_miss_tokens": 63
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "assistant",
|
|
||||||
"content": "",
|
|
||||||
"tool_calls": [
|
|
||||||
{
|
|
||||||
"id": "call_0_b05ff577-603f-4333-ac8b-26060d059a74",
|
|
||||||
"index": 0,
|
|
||||||
"type": "function",
|
|
||||||
"function": {
|
|
||||||
"name": "puppeteer_evaluate",
|
|
||||||
"arguments": "{\"script\":\"document.querySelector('.record-page').innerText\"}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"extraInfo": {
|
|
||||||
"created": 1745912384066,
|
|
||||||
"state": "success",
|
|
||||||
"serverName": "deepseek"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "tool",
|
|
||||||
"tool_call_id": "call_0_b05ff577-603f-4333-ac8b-26060d059a74",
|
|
||||||
"content": [
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"text": "Script execution failed: Cannot read properties of null (reading 'innerText')"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"extraInfo": {
|
|
||||||
"created": 1745912384085,
|
|
||||||
"state": "tool call failed",
|
|
||||||
"serverName": "deepseek",
|
|
||||||
"usage": {
|
|
||||||
"prompt_tokens": 1255,
|
|
||||||
"completion_tokens": 29,
|
|
||||||
"total_tokens": 1284,
|
|
||||||
"prompt_tokens_details": {
|
|
||||||
"cached_tokens": 1024
|
|
||||||
},
|
|
||||||
"prompt_cache_hit_tokens": 1024,
|
|
||||||
"prompt_cache_miss_tokens": 231
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "assistant",
|
|
||||||
"content": "",
|
|
||||||
"tool_calls": [
|
|
||||||
{
|
|
||||||
"id": "call_0_dc9d103a-f71d-44ca-ab6c-d9179feac397",
|
|
||||||
"index": 0,
|
|
||||||
"type": "function",
|
|
||||||
"function": {
|
|
||||||
"name": "puppeteer_evaluate",
|
|
||||||
"arguments": "{\"script\":\"document.querySelector('.ui.segment').innerHTML\"}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"extraInfo": {
|
|
||||||
"created": 1745912388903,
|
|
||||||
"state": "success",
|
|
||||||
"serverName": "deepseek"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "tool",
|
|
||||||
"tool_call_id": "call_0_dc9d103a-f71d-44ca-ab6c-d9179feac397",
|
|
||||||
"content": [
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"text": "Execution result:\n\"\\n\\n\\n<div class=\\\"ui tiny two statistics rel-mt-1\\\">\\n \\n \\n\\n <div class=\\\"ui statistic\\\">\\n <div class=\\\"value\\\">6K</div>\\n <div class=\\\"label\\\">\\n <i aria-hidden=\\\"true\\\" class=\\\"eye icon\\\"></i>\\n Views\\n </div>\\n </div>\\n\\n <div class=\\\"ui statistic\\\">\\n <div class=\\\"value\\\">5K</div>\\n <div class=\\\"label\\\">\\n <i aria-hidden=\\\"true\\\" class=\\\"download icon\\\"></i>\\n Downloads\\n </div>\\n </div>\\n</div>\\n\\n<div class=\\\"ui accordion rel-mt-1 centered\\\">\\n <div class=\\\"title\\\">\\n <i class=\\\"caret right icon\\\" aria-hidden=\\\"true\\\"></i>\\n <span tabindex=\\\"0\\\" class=\\\"trigger\\\" data-open-text=\\\"Show more details\\\" data-close-text=\\\"Show less details\\\">\\n Show more details\\n </span>\\n </div>\\n\\n <div class=\\\"content\\\">\\n <table id=\\\"record-statistics\\\" class=\\\"ui definition table fluid\\\">\\n <thead>\\n <tr>\\n <th></th>\\n <th class=\\\"right aligned\\\">All versions</th>\\n <th class=\\\"right aligned\\\">This version</th>\\n </tr>\\n </thead>\\n <tbody>\\n <tr>\\n <td>\\n Views\\n <i tabindex=\\\"0\\\" role=\\\"button\\\" style=\\\"position:relative\\\" class=\\\"popup-trigger question circle small icon\\\" aria-expanded=\\\"false\\\" aria-label=\\\"More info\\\" data-variation=\\\"mini inverted\\\">\\n </i>\\n <p role=\\\"tooltip\\\" class=\\\"popup-content ui flowing popup transition hidden\\\">\\n Total views\\n </p>\\n </td>\\n <td data-label=\\\"All versions\\\" class=\\\"right aligned\\\">\\n \\n 6,260\\n \\n</td>\\n <td data-label=\\\"This version\\\" class=\\\"right aligned\\\">\\n \\n 1,533\\n \\n</td>\\n </tr>\\n <tr>\\n <td>\\n Downloads\\n <i tabindex=\\\"0\\\" role=\\\"button\\\" style=\\\"position:relative\\\" class=\\\"popup-trigger question circle small icon\\\" aria-expanded=\\\"false\\\" aria-label=\\\"More info\\\" data-variation=\\\"mini inverted\\\">\\n </i>\\n <p role=\\\"tooltip\\\" class=\\\"popup-content ui flowing popup transition hidden\\\">\\n Total downloads\\n </p>\\n </td>\\n <td data-label=\\\"All versions\\\" class=\\\"right aligned\\\">\\n \\n 5,116\\n \\n</td>\\n <td data-label=\\\"This version\\\" class=\\\"right aligned\\\">\\n \\n 679\\n \\n</td>\\n </tr>\\n <tr>\\n <td>\\n Data volume\\n <i tabindex=\\\"0\\\" role=\\\"button\\\" style=\\\"position:relative\\\" class=\\\"popup-trigger question circle small icon\\\" aria-expanded=\\\"false\\\" aria-label=\\\"More info\\\" data-variation=\\\"mini inverted\\\">\\n </i>\\n <p role=\\\"tooltip\\\" class=\\\"popup-content ui flowing popup transition hidden\\\">\\n Total data volume\\n </p>\\n </td>\\n\\n <td data-label=\\\"All versions\\\" class=\\\"right aligned\\\">11.9 TB</td>\\n <td data-label=\\\"This version\\\" class=\\\"right aligned\\\">1.3 TB</td>\\n </tr>\\n </tbody>\\n </table>\\n <p class=\\\"text-align-center rel-mt-1\\\">\\n <small>\\n <a href=\\\"/help/statistics\\\">More info on how stats are collected....</a>\\n </small>\\n </p>\\n </div>\\n\\n</div>\\n\\n\"\n\nConsole output:\n"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"extraInfo": {
|
|
||||||
"created": 1745912388915,
|
|
||||||
"state": "success",
|
|
||||||
"serverName": "deepseek",
|
|
||||||
"usage": {
|
|
||||||
"prompt_tokens": 1253,
|
|
||||||
"completion_tokens": 30,
|
|
||||||
"total_tokens": 1283,
|
|
||||||
"prompt_tokens_details": {
|
|
||||||
"cached_tokens": 896
|
|
||||||
},
|
|
||||||
"prompt_cache_hit_tokens": 896,
|
|
||||||
"prompt_cache_miss_tokens": 357
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "assistant",
|
|
||||||
"content": "The content of the `.ui.segment` element includes detailed statistics about views, downloads, and data volume for a record. Here's a summary of the data:\n\n### Summary:\n- **Views**: \n - All versions: 6,260\n - This version: 1,533\n- **Downloads**: \n - All versions: 5,116\n - This version: 679\n- **Data Volume**: \n - All versions: 11.9 TB\n - This version: 1.3 TB\n\n### Additional Information:\n- The data is presented in a table format with tooltips for more details.\n- There's a link to learn more about how statistics are collected.\n\nLet me know if you'd like to extract or analyze any specific part of this data further!",
|
|
||||||
"extraInfo": {
|
|
||||||
"created": 1745912401265,
|
|
||||||
"state": "success",
|
|
||||||
"serverName": "deepseek",
|
|
||||||
"usage": {
|
|
||||||
"prompt_tokens": 2463,
|
|
||||||
"completion_tokens": 165,
|
|
||||||
"total_tokens": 2628,
|
|
||||||
"prompt_tokens_details": {
|
|
||||||
"cached_tokens": 960
|
|
||||||
},
|
|
||||||
"prompt_cache_hit_tokens": 960,
|
|
||||||
"prompt_cache_miss_tokens": 1503
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"settings": {
|
|
||||||
"modelIndex": 7,
|
|
||||||
"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": "bing search"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user