fix tool descriptions to prevent incorrect tool calls
This commit is contained in:
+4
-8
@@ -136,16 +136,14 @@ AGENT_TOOLS: list[dict[str, Any]] = [
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": (
|
"description": (
|
||||||
"The document's source, as shown after 'source: ' in the "
|
"The document's source, as shown after 'source: ' in the "
|
||||||
"list_documents output (e.g. 'Homelab' from "
|
"list_documents output."
|
||||||
"'source: Homelab | path: homelab/aws-route53.md')."
|
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
"path": {
|
"path": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": (
|
"description": (
|
||||||
"The document's path, as shown after 'path: ' in the "
|
"The document's path, as shown after 'path: ' in the "
|
||||||
"list_documents output (e.g. 'homelab/aws-route53.md' from "
|
"list_documents output."
|
||||||
"'source: Homelab | path: homelab/aws-route53.md')."
|
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -179,16 +177,14 @@ AGENT_TOOLS: list[dict[str, Any]] = [
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": (
|
"description": (
|
||||||
"The document's source, as shown after 'source: ' in the "
|
"The document's source, as shown after 'source: ' in the "
|
||||||
"list_documents output (e.g. 'Homelab' from "
|
"list_documents output."
|
||||||
"'source: Homelab | path: homelab/aws-route53.md')."
|
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
"path": {
|
"path": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": (
|
"description": (
|
||||||
"The document's path, as shown after 'path: ' in the "
|
"The document's path, as shown after 'path: ' in the "
|
||||||
"list_documents output (e.g. 'homelab/aws-route53.md' from "
|
"list_documents output."
|
||||||
"'source: Homelab | path: homelab/aws-route53.md')."
|
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user