Skip to content

Commit 78096a5

Browse files
committed
fix: Update test output messages to reflect conversion logic scope
Update print statements to say 'conversion logic test' instead of 'end-to-end test' Signed-off-by: Guy Girmonsky <guygir@gmail.com>
1 parent da032d2 commit 78096a5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/multi_modality/test_multimodality_conversion.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func convertContentToPreprocessingFormat(content types.Content) interface{} {
4545
}
4646

4747
func main() {
48-
fmt.Println("=== End-to-End Multi-Modality Pipeline Test ===")
48+
fmt.Println("=== Multi-Modality Conversion Logic Test ===")
4949

5050
// Test 1: Image URL format
5151
testImageURL := map[string]any{
@@ -155,7 +155,7 @@ func main() {
155155
if len(contentStr) > 150 {
156156
contentStr = contentStr[:150] + "..."
157157
}
158-
fmt.Printf("Content: %s\n", contentStr)
158+
fmt.Printf("Content: %s\n", contentStr)
159159
}
160160
}
161161

@@ -195,12 +195,12 @@ func main() {
195195
fmt.Printf(" Message %d: Role=%s\n", i+1, msg.Role)
196196
// For text-only, Content should be a string
197197
if contentStr, ok := msg.Content.(string); ok {
198-
fmt.Printf("Content (string): %s\n", contentStr)
198+
fmt.Printf("Content (string): %s\n", contentStr)
199199
} else {
200-
fmt.Printf(" ⚠️ Content is not a string: %T\n", msg.Content)
200+
fmt.Printf("Content is not a string: %T\n", msg.Content)
201201
}
202202
}
203203

204204
fmt.Println("\n" + strings.Repeat("=", 42))
205-
fmt.Println("All end-to-end tests passed!")
205+
fmt.Println("All conversion logic tests passed!")
206206
}

0 commit comments

Comments
 (0)