mirror of
https://github.com/fumiama/deepinfra.git
synced 2026-06-11 05:20:29 +08:00
feat: add ollama-compatibility
This commit is contained in:
@@ -21,8 +21,8 @@ type MessageBuilder[T any] interface {
|
||||
Assistant(prompt string) T
|
||||
}
|
||||
|
||||
type Protocol[T any] interface {
|
||||
type Protocol interface {
|
||||
Inputer
|
||||
Outputer
|
||||
MessageBuilder[T]
|
||||
MessageBuilder[Protocol]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user