mirror of
https://github.com/likelovewant/ollama-for-amd.git
synced 2025-12-21 14:26:30 +00:00
cleanup
This commit is contained in:
@@ -44,11 +44,11 @@ type Token struct {
|
||||
func (t *Token) Type() int32 {
|
||||
switch {
|
||||
case t.Special:
|
||||
return 3
|
||||
return tokenTypeControl
|
||||
case t.UserDefined:
|
||||
return 4
|
||||
return tokenTypeUserDefined
|
||||
default:
|
||||
return 1
|
||||
return tokenTypeNormal
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user