Quellcode durchsuchen

feat: implement prompt message tool call

Yeuoly vor 10 Monaten
Ursprung
Commit
4a761aa5b2
1 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
  1. 6 1
      internal/types/entities/model_entities/llm.go

+ 6 - 1
internal/types/entities/model_entities/llm.go

@@ -97,7 +97,12 @@ type PromptMessageContent struct {
 }
 
 type PromptMessageToolCall struct {
-	// TODO:
+	ID       string `json:"id"`
+	Type     string `json:"type"`
+	Function struct {
+		Name      string `json:"name"`
+		Arguments string `json:"arguments"`
+	} `json:"function"`
 }
 
 func init() {