mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-02 19:49:33 +01:00
Update prompt to discourage adding formatting
This commit is contained in:
parent
64184886a5
commit
034c317d74
@ -65,7 +65,7 @@ func GetAiSuggestionsViaOpenAiApi(query string, numberCompletions int) ([]string
|
|||||||
Model: "gpt-3.5-turbo",
|
Model: "gpt-3.5-turbo",
|
||||||
NumberCompletions: numberCompletions,
|
NumberCompletions: numberCompletions,
|
||||||
Messages: []openAiMessage{
|
Messages: []openAiMessage{
|
||||||
{Role: "system", Content: "You are an expert programmer that loves to help people with writing shell commands. You always reply with just a shell command and no additional context or information. Your replies will be directly executed in bash, so ensure that they are correct and do not contain anything other than a bash command."},
|
{Role: "system", Content: "You are an expert programmer that loves to help people with writing shell commands. You always reply with just a shell command and no additional context, information, or formatting. Your replies will be directly executed in bash, so ensure that they are correct and do not contain anything other than a bash command."},
|
||||||
{Role: "user", Content: query},
|
{Role: "user", Content: query},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user