Testing with qwen and updating tools

This commit is contained in:
2025-06-01 11:50:12 -05:00
parent 4c4f9b7f2c
commit 7844f26d59
6 changed files with 418 additions and 311 deletions
+15 -11
View File
@@ -33,19 +33,23 @@ class LogTool(BaseTool):
pass
def get_functions(self):
return [
{
"name": "get_log_contents",
"description": "Get the contents of the log file.",
"parameters": {
"type": "object",
"properties": {
"line_count": {
"type": "integer",
"description": "Number of lines from the end of the log file to retrieve"
}
},
"required": []
"type": "function",
"function": {
"name": "get_log_contents",
"description": "Get the contents of the log file.",
"parameters": {
"type": "object",
"properties": {
"line_count": {
"type": "integer",
"description": "Number of lines from the end of the log file to retrieve"
}
},
"required": []
}
}
}
]