From 9bf2a2a51c3f6d98b443bcb85ce4d20d767a4437 Mon Sep 17 00:00:00 2001 From: Fahad Date: Tue, 17 Jun 2025 13:08:50 +0400 Subject: [PATCH] Improved prompt in case Claude tries to use a smaller model with a larger file --- utils/file_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/file_utils.py b/utils/file_utils.py index 5fdaf49..5374652 100644 --- a/utils/file_utils.py +++ b/utils/file_utils.py @@ -1090,7 +1090,7 @@ def check_total_file_size(files: list[str], model_name: str) -> Optional[dict]: "threshold_percent": threshold_percent, "model_context_window": context_window, "model_name": model_name, - "instructions": "Reduce file selection and try again - all files must fit within budget", + "instructions": "Reduce file selection and try again - all files must fit within budget. If this persists, please use a model with a larger context window where available.", }, }