mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 00:07:07 +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