mirror of
https://github.com/ollama/ollama.git
synced 2025-04-02 09:00:28 +02:00
Merge 0749160a245e653ac9d4095e7f6c1833a813ffbb into 50b5962042d7c5026d5507af44ae28294f8568d9
This commit is contained in:
commit
b24db21b81
@ -557,7 +557,7 @@ func isNewline(r rune) bool {
|
||||
}
|
||||
|
||||
func isValidMessageRole(role string) bool {
|
||||
return role == "system" || role == "user" || role == "assistant"
|
||||
return role == "system" || role == "user" || role == "assistant" || role == "control"
|
||||
}
|
||||
|
||||
func isValidCommand(cmd string) bool {
|
||||
|
Loading…
x
Reference in New Issue
Block a user