From e295d925c9f188cbebe0fc2b2ec70efea474bfac Mon Sep 17 00:00:00 2001 From: Zvonimir Sabljic Date: Wed, 24 Jan 2024 18:57:58 -0800 Subject: [PATCH] Fix --- pilot/const/function_calls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pilot/const/function_calls.py b/pilot/const/function_calls.py index b5384b8c81..892d6c9b03 100644 --- a/pilot/const/function_calls.py +++ b/pilot/const/function_calls.py @@ -257,7 +257,7 @@ IMPLEMENT_TASK = { 'properties': { 'type': { 'type': 'string', - 'enum': ['command', 'save_file', 'modify_file', 'human_intervention_description'], + 'enum': ['command', 'save_file', 'modify_file', 'human_intervention'], 'description': 'Type of the development step that needs to be done to complete the entire task.', }, 'command': command_definition(), @@ -301,7 +301,7 @@ IMPLEMENT_TASK = { }, 'human_intervention_description': { 'type': 'string', - 'description': 'Description of what a human needs to do to debug this issue. This should be used only if the task is of a type "human_intervention_description".', + 'description': 'Description of what a human needs to do to debug this issue. This should be used only if the task is of a type "human_intervention".', }, }, 'required': ['type'],