summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-25 20:06:56 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-25 20:06:56 +0300
commit888c9fec652b82174702c710f54f7d64f194315c (patch)
tree883051d653dda2d57b227670bfd3721bf6cf426a /models
parent4f07994bdc3d23421cf3941af3edc18c05ffc94b (diff)
Chore: linter complaints
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