适配 DSH 0.1.2-alpha.1

This commit is contained in:
yexi committed 2026-08-30 14:54:48 +08:00
1 parent 62d0bcd274
commit 057e473a6c
45 files changed
+653 -468

No files matched your search

+17 -1
View File
@@ -368,7 +368,7 @@
},
{
"name": "read_image",
"description": "Read a PNG/JPEG/WebP/GIF file and return the image itself. Requires the current model to accept image input.",
"description": "Read a PNG/JPEG/WebP/GIF file and return the image itself. Harness validates and downscales large supported images before the next model request, so use this tool directly instead of installing image libraries or creating thumbnails merely to inspect an image. Independent files may be read concurrently in small batches. Requires the current model to accept image input.",
"parameters": {
"type": "object",
"properties": {
@@ -553,6 +553,22 @@
]
}
},
{
"name": "web_fetch",
"description": "Fetch the content of a specific HTTP(S) URL and return it decoded to text.",
"parameters": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The HTTP(S) URL to fetch."
}
},
"required": [
"url"
]
}
},
{
"name": "web_search",
"description": "Search the web for current information. Provide 1–4 queries in the required queries array. Returns an optional summary answer and a list of source URLs.",