mirror of
https://github.com/likelovewant/ollama-for-amd.git
synced 2025-12-24 07:28:27 +00:00
Fix issues with /set template and /set system (#1486)
This commit is contained in:
@@ -66,7 +66,7 @@ func (m *Model) Prompt(p PromptVars) (string, error) {
|
||||
}
|
||||
|
||||
if p.System == "" {
|
||||
// use the default system prompt for this model if one is not specified
|
||||
// use the default system message for this model if one is not specified
|
||||
p.System = m.System
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user