Commit Graph

62 Commits

Author SHA1 Message Date
Avraham Sakal 6668361f05 UI overhaul: fonts, colors, scrollable message boxes, animated text generation status updates 2025-09-14 16:17:01 -04:00
Avraham Sakal ebfbb22525 streaming response 2025-09-14 13:36:43 -04:00
Avraham Sakal 1dddae6a05 improve look 2025-09-14 12:09:46 -04:00
Avraham Sakal af852e27b8 update AGENTS.md 2025-09-01 21:24:53 -04:00
Avraham Sakal 382f60de72 implement lowdb factTriggers.findByConversationId 2025-09-01 21:13:18 -04:00
Avraham Sakal fef408d399 just use nemo, it's great 2025-09-01 21:05:22 -04:00
Avraham Sakal b20c48ce0a deletable messages 2025-09-01 21:04:57 -04:00
Avraham Sakal d0902e9df1 site title at the top of the layout; more verbose "welcome" page 2025-08-31 20:32:25 -04:00
Avraham Sakal 8845f78810 filled menu icons when active 2025-08-31 20:19:29 -04:00
Avraham Sakal 84eaab08ea expand use of react-query for state management 2025-08-31 15:07:01 -04:00
Avraham Sakal 20f6f6918f optimistically update "delete conversation" mutation 2025-08-31 13:40:28 -04:00
Avraham Sakal de316c3e7e invalidate react-query queries upon mutations 2025-08-31 12:33:53 -04:00
Avraham Sakal f4e9c62e96 transition to postgresql for persistence layer 2025-08-31 12:04:18 -04:00
Avraham Sakal d827412feb update postgresql schema 2025-08-29 16:17:39 -04:00
Avraham Sakal afee7dd8c9 abstract application-to-database interface 2025-08-29 16:17:20 -04:00
Avraham Sakal 28a0be808a remove unnecessary import 2025-08-29 07:33:16 -04:00
Avraham Sakal d934c32855 custom logo 2025-08-27 08:26:21 -04:00
Avraham Sakal b11c34b660 remove unnecessary pages and files that came with the Vike init 2025-08-27 07:40:37 -04:00
Avraham Sakal 18411402f5 example of SSE streaming 2025-08-26 19:01:39 -04:00
Avraham Sakal 2d35a4683b begin migration to trpc/react-query integration 2025-08-17 19:32:24 -04:00
Avraham Sakal cb749072f2 fix: object generation errors; easily-switchable model 2025-08-15 17:01:34 -04:00
Avraham Sakal 341cf5bff1 upgrade ai sdk to v5 2025-08-15 16:27:25 -04:00
Avraham Sakal 3aa252e248 upgraded dependencies (ai sdk v5) 2025-08-10 17:47:12 -04:00
Avraham Sakal d44215841e editable fact triggers in the UI 2025-08-08 17:46:29 -04:00
Avraham Sakal df1e263ef7 editable facts in the UI 2025-08-08 17:43:03 -04:00
Avraham Sakal 46595649df add "Fact Triggers" tab in UI 2025-08-08 17:24:31 -04:00
Avraham Sakal 2cea5500c8 lint 2025-08-08 17:07:07 -04:00
Avraham Sakal a8eba580d0 biome format 2025-08-08 17:02:53 -04:00
Avraham Sakal 5e5549e85f factored-out generateFromFact into fact-triggers module 2025-08-08 17:02:09 -04:00
Avraham Sakal 41e94feef6 factored-out generateRunningSummary into messages module 2025-08-08 16:54:01 -04:00
Avraham Sakal 84e9ff8bd2 factored-out fact generation into facts module 2025-07-31 09:15:32 -04:00
Avraham Sakal 083b7a275c add TODO.md to make it easier to revisit the project in spurts 2025-07-28 22:26:26 -04:00
Avraham Sakal c2815b4d83 generate fact triggers on each turn 2025-07-28 22:15:59 -04:00
Avraham Sakal 55d35e150c slight refactor of delete-by-id implementation 2025-07-28 22:15:40 -04:00
Avraham Sakal 5c8620ef5e use message.id as React key 2025-07-28 21:34:18 -04:00
Avraham Sakal 5d443ef1b1 improve clarity of generated facts by using proper pronouns to refer to the user 2025-07-28 21:23:40 -04:00
Avraham Sakal bf0bfe5b07 improve prompt quality 2025-07-27 18:25:40 -04:00
Avraham Sakal c69e4de738 cleaner UI 2025-07-27 18:25:24 -04:00
Avraham Sakal 91e38521aa buttons on hover over message 2025-07-27 17:40:23 -04:00
Avraham Sakal 3b84e01057 refactor trpc procedures into domains 2025-07-27 17:22:58 -04:00
Avraham Sakal 25523559aa fetch facts on load, facts are deletable 2025-07-27 16:56:44 -04:00
Avraham Sakal caf36cf67b each generation/completion uses one system prompt and one user prompt for maximum clarity for the model 2025-07-27 13:36:01 -04:00
Avraham Sakal ee9e9424ab generate and save facts 2025-07-27 10:53:25 -04:00
Avraham Sakal d7716bd451 "chats" menu open by default 2025-07-27 09:57:45 -04:00
Avraham Sakal 01d2997f77 use lowdb for faster iteration; use strings for ids and camelCase for field names for consistency 2025-07-27 09:46:34 -04:00
Avraham Sakal 1f80ad4ba9 factored-out system prompts into their own functions 2025-07-22 08:03:15 -04:00
Avraham Sakal 5cfc70632e display the runningSummary as markdown as well 2025-07-21 20:42:09 -04:00
Avraham Sakal 3ba60b999c generate runningSummary on each turn, and include it with the main completion 2025-07-21 20:38:42 -04:00
Avraham Sakal d4018bdc8e configure opencode.json models properly 2025-07-15 09:06:19 -04:00
Avraham Sakal c36ebfa4e7 add AGENTS.md for opencode 2025-07-15 08:44:09 -04:00