mirror of
https://github.com/fumiama/deepinfra.git
synced 2026-06-09 04:29:41 +08:00
fix(model): still use string in system prompt
This commit is contained in:
@@ -22,7 +22,7 @@ type Requester interface {
|
||||
}
|
||||
|
||||
type MessageBuilder[T any] interface {
|
||||
System(prompt ...Content) T
|
||||
System(prompt string) T
|
||||
User(prompt ...Content) T
|
||||
Assistant(prompt ...Content) T
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user