ai调试ok

This commit is contained in:
2026-06-10 16:36:26 +08:00
parent cd03cdc44a
commit ffbb6b5125
6 changed files with 650 additions and 82 deletions
+3 -2
View File
@@ -22,8 +22,9 @@ type Tool interface {
}
type ChatMessage struct {
Role string `json:"role"`
Content string `json:"content"`
Role string `json:"role"`
Content string `json:"content"`
ImageURL string `json:"image_url,omitempty"`
}
var registry []Tool