1
0
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:
源文雨
2025-12-22 00:36:10 +08:00
parent 0f52825474
commit e98ee3ba43
4 changed files with 4 additions and 4 deletions

View File

@@ -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