mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
fix: prompt typo
This commit is contained in:
parent
01c541e2bb
commit
cc9659e0aa
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ pub fn ai_suggestion(last_command: &str, error_msg: &str) -> Option<AISuggest> {
|
||||||
|
|
||||||
let ai_prompt = format!(
|
let ai_prompt = format!(
|
||||||
r#"
|
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}"}}
|
{{"commands":["command 1", "command 2"],"note":"why they may fix the error{set_locale}"}}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue