fix: fix sparkdesk function call

This commit is contained in:
Shi Jilin
2024-06-20 22:56:59 +08:00
committed by GitHub
parent 279caf82dc
commit ff196b75a7
2 changed files with 6 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ type Message struct {
}
type Functions struct {
Text []model.Tool `json:"text,omitempty"`
Text []model.Function `json:"text,omitempty"`
}
type ChatRequest struct {