fix
This commit is contained in:
@@ -81,7 +81,7 @@ func FillMetaAI(ctx context.Context, completer processing.Completer, p ProductIn
|
||||
system := strings.TrimSpace(aiprompts.Render(sysTpl, vars))
|
||||
user := strings.TrimSpace(aiprompts.Render(userTpl, vars))
|
||||
if user == "" {
|
||||
user = fmt.Sprintf("Name: %s\nCategory: %s\nDesc: %s",
|
||||
user = fmt.Sprintf("Name: %s\nCategory: %s\nDescription: %s",
|
||||
name, p.Category, truncateRunes(desc, processing.MaxProductDescRunes))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user