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