Commit Graph

116 Commits

Author SHA1 Message Date
Jorge Manrubia 7018d30144 Review prompt 2025-06-25 15:40:22 +02:00
Jorge Manrubia 419f4cda65 Refine prompt to avoid invalid JSON 2025-06-25 13:39:04 +02:00
Jorge Manrubia 46d98ebb4a Refine prompt to avoid invalid JSON 2025-06-25 13:01:59 +02:00
Jorge Manrubia ccfcba8aa4 Make sure it generates valid JSON 2025-06-25 12:54:44 +02:00
Jorge Manrubia ed4baf2eff recreate vcr fixtures 2025-06-25 10:37:33 +02:00
Jorge Manrubia cb101ca43f Fix fixtures after updating gem 2025-06-13 10:48:08 +02:00
Jorge Manrubia eb95af4add Add test for reopening cards 2025-06-05 13:29:34 +02:00
Jorge Manrubia 7c1bd23460 Exclude body checking in this test
Requests like summarize can result in completely different responses
2025-06-05 13:02:40 +02:00
Jorge Manrubia 3df7d3e5a8 Match requests by body
So that modifying the prompt make the tests fail

If not, the tests defeat their purpose!
2025-06-05 12:45:45 +02:00
Jorge Manrubia 7eb1930eb3 Test for stalled cards 2025-06-05 12:36:12 +02:00
Jorge Manrubia 5ecb1b1a6d Fix: VCR fixtures mismatches making it need test.key for credentials 2025-05-20 15:02:39 +02:00
Jorge Manrubia e0e17d2bd0 Add test for the commands controller 2025-05-16 16:12:09 +02:00
Jorge Manrubia 04e3e56516 Add tests for ai parsing 2025-05-16 15:20:30 +02:00
Jorge Manrubia 7c2a1022a2 Fix test 2025-05-16 14:52:16 +02:00
Jorge Manrubia a5de913608 Improve prompt and tests 2025-05-16 14:49:51 +02:00
Jorge Manrubia b8f94c4ecb Add VCR and some initial tests 2025-05-16 13:29:18 +02:00