Update openai.go
This commit is contained in:
parent
4e1c25b812
commit
8631763220
1 changed files with 0 additions and 4 deletions
|
|
@ -24,10 +24,6 @@ func GenerateGPT4Response(prompt string, author string) (string, error) {
|
|||
return "", fmt.Errorf("prompt is too long")
|
||||
}
|
||||
|
||||
// Check if the prompt is too short
|
||||
if len(prompt) < 10 {
|
||||
return "", fmt.Errorf("prompt is too short")
|
||||
}
|
||||
|
||||
// Add additional information to the system message
|
||||
var additionalInfo string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue