ollama source for Momentry Core verification

This commit is contained in:
Accusys
2026-05-22 17:19:10 +08:00
commit 0b31ff9135
2020 changed files with 1413145 additions and 0 deletions

16
readline/errors.go Normal file
View File

@@ -0,0 +1,16 @@
package readline
import (
"errors"
)
var ErrInterrupt = errors.New("Interrupt")
var ErrEditPrompt = errors.New("EditPrompt")
type InterruptError struct {
Line []rune
}
func (*InterruptError) Error() string {
return "Interrupted"
}