Commit Graph

31 Commits

Author SHA1 Message Date
Jorge Manrubia 94b5e39281 Generate VCR fixtures
There is probably something to fix here
2025-09-30 06:40:17 +02:00
Jorge Manrubia 1bb8de8564 Fix tests 2025-09-29 13:13:40 +02:00
Jorge Manrubia d16e0c942c Fix test and adjust prompts to reflect the column 2025-09-28 20:49:25 +02:00
Jorge Manrubia bfe0f5a68b Fix: missing highlights due to not interpreting timezones right 2025-09-23 13:38:25 +02:00
Jorge Manrubia b87a572f58 Fix VCR test 2025-09-16 12:30:23 +02:00
Jorge Manrubia 3d8437bd5f Truncate summaries to keep within API limits
https://fizzy.37signals.com/5986089/cards/1739
2025-09-15 16:14:29 +02:00
Jorge Manrubia 05ba0b703e Update VCR fixtures 2025-09-15 14:27:10 +02:00
Mike Dalessio 5c44a93172 Fix VCR cassettes for user highlights 2025-09-13 10:54:38 -04:00
Jorge Manrubia c386b42e07 Fix VCR fixtures 2025-09-12 19:01:10 +02:00
Jorge Manrubia eabce24415 Switch to gpt-5-chat
Cheaper and good enough

https://3.basecamp.com/2914079/buckets/37331921/todos/9041305517
2025-09-12 16:16:54 +02:00
Jorge Manrubia 4e72566856 Flatten card resource
We only need the parent collection for creating cards. Carrying it in the
rest of actions is a hassle.
2025-09-10 11:24:23 +02:00
Jorge Manrubia c36420800e Fix test (and remove warning) 2025-09-09 12:12:22 +02:00
Jorge Manrubia e89749153f Fix VCR tests 2025-09-09 10:20:15 +02:00
Jorge Manrubia ebfc168266 Make sure it considers the week before if this is invoked on a sunday 2025-09-08 08:38:33 +02:00
Jorge Manrubia d13a9e01db Update VCR fixtures 2025-09-05 18:04:58 +02:00
Jorge Manrubia aad61b36bc Generate highlights in the user timezone, now that we persist it
Also, remove the dates and duration from the highlights records. Those are not relevant, only the events-derived
key is. If two users with different timezones have different activities, they should see different summaries.
2025-09-05 12:39:09 +02:00
Jorge Manrubia 0c979a41c5 Format 2025-09-02 11:12:33 +02:00
Jorge Manrubia 5b68750713 Generate weekly highlights instead of daily ones
https://3.basecamp.com/2914079/buckets/37331921/todos/9010176047
2025-09-01 16:01:19 +02:00
Jorge Manrubia 81d6df3616 Remove comments from card prompts
We don't use to_prompt to generate AI responses anymore, only for events. Grabbing
all the comments don't make as much sense, and I'm sure it is quite expensive
2025-08-27 09:56:13 +02:00
Jason Zimdars 5cf119cbd1 Adjust prompt to force proper link construction; recognize people milestones and events 2025-08-18 10:00:16 -05:00
Jason Zimdars acfe89ca52 Update prompt to render links and use more casual language 2025-08-14 14:32:53 -05:00
Jason Zimdars e8dc14fda7 Simplify prompt, adjust styles to move away from bullet format 2025-08-11 18:03:48 -05:00
Jorge Manrubia 588f03e927 Remove insight experimental code
Also, downgrade LLM for commands to mini. It's much cheaper and I only upgraded because of the
interpretation complexities that the insight command introduced.

We are implementing a much better approach with Ask.
2025-08-11 13:40:56 +02:00
Jorge Manrubia 8addd4bd50 Remove comment 2025-08-11 12:42:31 +02:00
Jason Zimdars 9362b711d8 Adjust prompt 2025-08-05 16:02:11 -05:00
Jason Zimdars b30a329a1a Surface some fun user activity 2025-07-31 14:30:08 -05:00
Jason Zimdars 7d55069d88 Adjust prompt 2025-07-31 10:30:00 -05:00
Jason Zimdars b795a43d5c Simplify the prompt, try a top 5 points format 2025-07-30 18:14:37 -05:00
Jason Zimdars 0f3aa31943 Bold names, ensure summaries generate correctly structured collection links 2025-07-29 11:57:23 -05:00
Jason Zimdars 3479129721 Update prompt 2025-07-25 10:07:49 -05:00
Jorge Manrubia 711d9207ed Little refactor + missing test 2025-07-25 10:04:07 +02:00