@@ -45,7 +45,7 @@ func convertContentToPreprocessingFormat(content types.Content) interface{} {
4545}
4646
4747func 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