From cc9659e0aaeb4acd6a55a3ed0cd0b06e0a7de378 Mon Sep 17 00:00:00 2001 From: iff Date: Fri, 13 Dec 2024 12:22:09 +0100 Subject: [PATCH] fix: prompt typo --- module-request-ai/src/requests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module-request-ai/src/requests.rs b/module-request-ai/src/requests.rs index 858ef71..630d8df 100644 --- a/module-request-ai/src/requests.rs +++ b/module-request-ai/src/requests.rs @@ -68,7 +68,7 @@ pub fn ai_suggestion(last_command: &str, error_msg: &str) -> Option { let ai_prompt = format!( r#" -The command `{last_command}` returns the following error message: `{error_msg}`. Provide possible commands to fix it. Answer in the following excact JSON template without any extra text: +The command `{last_command}` returns the following error message: `{error_msg}`. Provide possible commands to fix it. Answer in the following exact JSON template without any extra text: ``` {{"commands":["command 1", "command 2"],"note":"why they may fix the error{set_locale}"}} ```