Commit Graph

92 Commits

Author SHA1 Message Date
Jorge Manrubia 3eeba253ad Don't choke when rendering commands where the card was deleted 2025-05-29 00:39:17 +02:00
Jason Zimdars 84b6a1291f Fizzy do with AI polish 2025-05-19 17:08:00 -05:00
Jorge Manrubia 5ac5b5ebde Add test for the composite command 2025-05-16 15:38:22 +02:00
Jorge Manrubia 2c0f6913ce Test fixes 2025-05-16 15:02:59 +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 3ccfc165b2 Remove unused command 2025-05-16 14:20:20 +02:00
Jorge Manrubia 54ce3f900c Rename method 2025-05-16 13:29:18 +02:00
Jorge Manrubia 53977fb905 Use symbolized keys 2025-05-16 13:29:18 +02:00
Jorge Manrubia b8f94c4ecb Add VCR and some initial tests 2025-05-16 13:29:18 +02:00
Jorge Manrubia cd0a07740e Make sure that uses insight to reply to questions 2025-05-16 13:29:18 +02:00
Jorge Manrubia c12bf1301b More promot improvements 2025-05-16 13:29:18 +02:00
Jorge Manrubia 95d9cec353 Understand "my cards" better 2025-05-16 13:29:18 +02:00
Jorge Manrubia b867a189ae Place the variable context at the end so that it's more cache friendly 2025-05-16 13:29:18 +02:00
Jorge Manrubia 096933d326 Relax conditions to match collections 2025-05-16 13:29:18 +02:00
Jorge Manrubia 50d323d402 Rename method 2025-05-16 13:29:18 +02:00
Jorge Manrubia b2c273bd5f Extract method 2025-05-16 13:29:18 +02:00
Jorge Manrubia 8d017b0a19 Add cache when translating to commands 2025-05-16 13:29:18 +02:00
Jorge Manrubia 188ae20fd8 Reorder methods 2025-05-16 13:29:18 +02:00
Jorge Manrubia 8cb16abb16 extract method 2025-05-16 13:29:18 +02:00
Jorge Manrubia 36478934fd Inline method 2025-05-16 13:29:18 +02:00
Jorge Manrubia fbe14a6533 Resolve "my" "I" in the context of the user using the system 2025-05-16 13:29:18 +02:00
Jorge Manrubia 28cd03668a Show multi-line confirmations 2025-05-16 13:29:18 +02:00
Jorge Manrubia 88fd3a7aaa Don't generate invalid JSON 2025-05-16 13:29:18 +02:00
Jorge Manrubia 2510c1e0ac Major rework of the command/ai abstractions
- Big simplification of the overall workflow.
- Composite commands store their commands properly, these are undoable now.
- Child commands are excluded from history
2025-05-16 13:29:18 +02:00
Jorge Manrubia 1e5112ffcc Refine prompt 2025-05-16 13:29:18 +02:00
Jorge Manrubia b57cf84335 Improve prompt 2025-05-16 13:29:18 +02:00
Jorge Manrubia 8528223c15 Improve prompt 2025-05-16 13:29:18 +02:00
Jorge Manrubia b2310b108a More improvements 2025-05-16 13:29:18 +02:00
Jorge Manrubia afc30f1a7e More prompt improvements and fixes 2025-05-16 13:29:18 +02:00
Jorge Manrubia 21a6df093f Improve the get insight prompt 2025-05-16 13:29:18 +02:00
Jorge Manrubia 0ff984dddd Handle errors in composite commands 2025-05-16 13:29:18 +02:00
Jorge Manrubia 04ee9925e7 More prompt refinements 2025-05-16 13:29:18 +02:00
Jorge Manrubia f1d1469a14 Rewrite prompt from scratch trying to be more descriptive of the process to follow 2025-05-16 13:29:18 +02:00
Jorge Manrubia c81d6d4277 More improvements 2025-05-16 13:29:18 +02:00
Jorge Manrubia e33b2cf419 Improve prompt using ChatGPT o3 2025-05-16 13:29:18 +02:00
Jorge Manrubia f2c80726a3 Handle redirecting in commands that require no confirmation 2025-05-16 13:29:18 +02:00
Jorge Manrubia c84439fed0 Improve prompt by making commands context-aware 2025-05-16 13:29:18 +02:00
Jorge Manrubia 389fbe9435 Improve prompt 2025-05-16 13:29:18 +02:00
Jorge Manrubia 9b8ebf09ef Showing insights with a better foundation 2025-05-16 13:29:18 +02:00
Jorge Manrubia cd53ef59eb Better foundation for chat responses 2025-05-16 13:29:18 +02:00
Jorge Manrubia ced0e5b63e Refine prompt 2025-05-16 13:29:18 +02:00
Jorge Manrubia 8bb26d0e44 Refine 2025-05-16 13:29:18 +02:00
Jorge Manrubia d4fab7c901 Refine prompt 2025-05-16 13:29:18 +02:00
Jorge Manrubia d0536a3038 Tidy up 2025-05-16 13:29:18 +02:00
Jorge Manrubia 5375044226 More accurate card context 2025-05-16 13:29:18 +02:00
Jorge Manrubia 2d65af8e0e More refinements 2025-05-16 13:29:18 +02:00
Jorge Manrubia 5be3048e27 More refinements 2025-05-16 13:29:18 +02:00
Jorge Manrubia 9d7438ba25 Use similarity searches and refined prompt 2025-05-16 13:29:18 +02:00
Jorge Manrubia 3c53dd3819 More insight refinements 2025-05-16 13:29:18 +02:00