Commit Graph

2712 Commits

Author SHA1 Message Date
Jorge Manrubia 4c7b99e39d Add separated API key for test environment 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 b079be8388 Be explicit about the model 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 339810862e Not used 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 6933449d2d Tweak prefix 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 7d21443868 Remove unused 2025-05-16 13:29:18 +02:00
Jorge Manrubia 14eb7658d6 Reorder methods 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 aa7a92c448 Move terminal output outside of the frame so that it doesn't gets erased when reloading the frame 2025-05-16 13:29:18 +02:00
Jorge Manrubia 87b4643946 Fix: navigation not working after adding new commands 2025-05-16 13:29:18 +02:00
Jorge Manrubia 09f5efc100 Reflect new commands in the history 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 7c55dd3a09 Make the input permanent
We need to command history to update
2025-05-16 13:29:18 +02:00
Jorge Manrubia d49f503af8 Don't redirect if not needed 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 cb7404d091 Review readme 2025-05-16 13:29:18 +02:00
Jorge Manrubia 1e5112ffcc Refine prompt 2025-05-16 13:29:18 +02:00
Jorge Manrubia ad734e36d7 Add note en embed vectors 2025-05-16 13:29:18 +02:00
Jorge Manrubia b7b89541c6 Update README with a note about credentials 2025-05-16 13:29:18 +02:00
Jorge Manrubia b060f96c5a Support multi-line prompts 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 b568711809 Add cache for embed in queries 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 81dcb715bd Add a busy class to the terminal 2025-05-16 13:29:18 +02:00
Jorge Manrubia 378f5e5891 Handle terminal output as a proper target 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 5425b03af4 Remove platforms incompatible with sqlite-vec 2025-05-16 13:29:18 +02:00