refactor: Update function descriptions for clarity and consistency
This commit is contained in:
		@@ -81,13 +81,13 @@ FUNCTIONS = [
 | 
				
			|||||||
        "type": "function",
 | 
					        "type": "function",
 | 
				
			||||||
        "function": {
 | 
					        "function": {
 | 
				
			||||||
            "name": "reprompt",
 | 
					            "name": "reprompt",
 | 
				
			||||||
            "description": "After executing what you asked for, re-perform a screenshot to determine the next steps. Best combined with a wait.",
 | 
					            "description": "After doing what you had to do, re-execute once again with a new screenshot.",
 | 
				
			||||||
            "parameters": {
 | 
					            "parameters": {
 | 
				
			||||||
                "type": "object",
 | 
					                "type": "object",
 | 
				
			||||||
                "properties": {
 | 
					                "properties": {
 | 
				
			||||||
                    "nextsteps": {
 | 
					                    "nextsteps": {
 | 
				
			||||||
                        "type": "string",
 | 
					                        "type": "string",
 | 
				
			||||||
                        "description": "The next steps to take after the screenshot."
 | 
					                        "description": "The new steps to perform."
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
                "required": ["nextsteps"],
 | 
					                "required": ["nextsteps"],
 | 
				
			||||||
@@ -98,13 +98,13 @@ FUNCTIONS = [
 | 
				
			|||||||
        "type": "function",
 | 
					        "type": "function",
 | 
				
			||||||
        "function": {
 | 
					        "function": {
 | 
				
			||||||
            "name": "confirm",
 | 
					            "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.",
 | 
					            "description": "Confirm that the task is completed and no further actions are needed. ONLY execute this when you fulfilled the user's request. This can be the only function called.",
 | 
				
			||||||
            "parameters": {
 | 
					            "parameters": {
 | 
				
			||||||
                "type": "object",
 | 
					                "type": "object",
 | 
				
			||||||
                "properties": {
 | 
					                "properties": {
 | 
				
			||||||
                    "goal": {
 | 
					                    "goal": {
 | 
				
			||||||
                        "type": "string",
 | 
					                        "type": "string",
 | 
				
			||||||
                        "description": "The goal to achieve/that was achieved."
 | 
					                        "description": "The goal that was achieved."
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
                "required": ["goal"],
 | 
					                "required": ["goal"],
 | 
				
			||||||
@@ -115,7 +115,7 @@ FUNCTIONS = [
 | 
				
			|||||||
        "type": "function",
 | 
					        "type": "function",
 | 
				
			||||||
        "function": {
 | 
					        "function": {
 | 
				
			||||||
            "name": "windows_key",
 | 
					            "name": "windows_key",
 | 
				
			||||||
            "description": "Press the Windows key to open the Start menu.",
 | 
					            "description": "Press the Windows key to open the Start menu. It is better to do that than finding icons on Desktop, or taskbar.",
 | 
				
			||||||
            "parameters": {
 | 
					            "parameters": {
 | 
				
			||||||
                "type": "object",
 | 
					                "type": "object",
 | 
				
			||||||
                "properties": {},
 | 
					                "properties": {},
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user