Add confirmation function and re-execution logic in AIProcessor; clean up web server request handling
This commit is contained in:
@@ -92,6 +92,23 @@ FUNCTIONS = [
|
||||
"required": ["nextsteps"],
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "function",
|
||||
"function": {
|
||||
"name": "confirm",
|
||||
"description": "Confirm that the task is completed and no further actions are needed. ONLY execute this when no other functions/actions are needed. This can be the only function called.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"goal": {
|
||||
"type": "string",
|
||||
"description": "The goal to achieve/that was achieved."
|
||||
}
|
||||
},
|
||||
"required": ["goal"],
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user