summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/models.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/models/models.go b/models/models.go
index 21d71d8..7ee4c12 100644
--- a/models/models.go
+++ b/models/models.go
@@ -400,7 +400,6 @@ func (m *RoleMsg) AddTextPart(text string) {
}
m.hasContentParts = true
}
-
textPart := TextContentPart{Type: "text", Text: text}
m.ContentParts = append(m.ContentParts, textPart)
}
@@ -416,7 +415,6 @@ func (m *RoleMsg) AddImagePart(imageURL, imagePath string) {
}
m.hasContentParts = true
}
-
imagePart := ImageContentPart{
Type: "image_url",
Path: imagePath, // Store the original file path