Fixed issue with extra colors of image input # 57 #58

Merged
Vutukuri15 merged 2 commits from vutukuri15/57 into main 2025-03-10 12:08:52 -07:00
Vutukuri15 commented 2025-03-09 21:08:45 -07:00 (Migrated from github.com)

This PR improves the ChipDetection component by ensuring the correct ordering of detected chip colors and handling unexpected colors in the AI response. Previously, the response parsing did not guarantee a fixed order for chip colors, and extra colors (e.g., "purple") could cause misalignment in the flattened array.

This PR improves the ChipDetection component by ensuring the correct ordering of detected chip colors and handling unexpected colors in the AI response. Previously, the response parsing did not guarantee a fixed order for chip colors, and extra colors (e.g., "purple") could cause misalignment in the flattened array.
MantashaNoyela (Migrated from github.com) reviewed 2025-03-09 21:08:45 -07:00
djwesty commented 2025-03-09 23:18:34 -07:00 (Migrated from github.com)

Good work. I gave it a quick test with some debugging to change the data. It does the job

Good work. I gave it a quick test with some debugging to change the data. It does the job
djwesty (Migrated from github.com) approved these changes 2025-03-09 23:18:41 -07:00
Vutukuri15 commented 2025-03-10 12:06:05 -07:00 (Migrated from github.com)

I fixed test code

I fixed test code
djwesty (Migrated from github.com) approved these changes 2025-03-10 12:06:45 -07:00
Sign in to join this conversation.
No description provided.