Testing with qwen and updating tools
This commit is contained in:
+15
-11
@@ -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": []
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user