Merge 0749160a245e653ac9d4095e7f6c1833a813ffbb into 50b5962042d7c5026d5507af44ae28294f8568d9

This commit is contained in:
Xavier Rey-Robert @ IBM 2025-03-17 09:56:29 -07:00 committed by GitHub
commit b24db21b81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {