mirror of
https://github.com/fumiama/deepinfra.git
synced 2026-06-23 13:40:28 +08:00
feat(model): add Cloner to Protocol
This commit is contained in:
@@ -102,7 +102,7 @@ func (ollm *OLLaMA) Assistant(prompt ...Content) Protocol {
|
||||
return ollm
|
||||
}
|
||||
|
||||
func (ollm *OLLaMA) Clone() Cloner {
|
||||
func (ollm *OLLaMA) Clone() Protocol {
|
||||
x := new(OLLaMA)
|
||||
*x = *ollm
|
||||
x.Messages = nil
|
||||
|
||||
Reference in New Issue
Block a user