From 5b76ea2aa2d227bef2ebaaeda1e32370814b18ee Mon Sep 17 00:00:00 2001 From: Zvonimir Sabljic Date: Fri, 4 Aug 2023 13:31:55 +0200 Subject: [PATCH] Don't let it halucinate files --- euclid/const/function_calls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/euclid/const/function_calls.py b/euclid/const/function_calls.py index 13ce2b3..c7038d0 100644 --- a/euclid/const/function_calls.py +++ b/euclid/const/function_calls.py @@ -355,10 +355,10 @@ GET_FILES = { 'properties': { 'files': { 'type': 'array', - 'description': f'List of files that need to be analized to implement the reqired changes.', + 'description': f'List of files that need to be analized to implement the reqired changes. Any file name in this array MUST be from the directory tree listed in the previous message.', 'items': { 'type': 'string', - 'description': f'A single file name that needs to be analized to implement the reqired changes. Remember, this is a file name with path relative to the project root. For example, if a file path is `{{project_root}}/models/model.py`, this value needs to be `models/model.py`.', + 'description': f'A single file name that needs to be analized to implement the reqired changes. Remember, this is a file name with path relative to the project root. For example, if a file path is `{{project_root}}/models/model.py`, this value needs to be `models/model.py`. This file name MUST be listed in the directory from the previous message.', } } },