This website requires JavaScript.
88adc15899
consolidate openrouter instance creation
master
Avraham Sakal
2025-09-28 13:23:07 -04:00
d9053e1fc0
fix: read cloudflare-style envs
Avraham Sakal
2025-09-28 11:46:13 -04:00
3ae805220a
remove sensitive config
Avraham Sakal
2025-09-28 11:35:39 -04:00
a76ec7ae1d
fix: immutable optimistic update to trigger re-render
Avraham Sakal
2025-09-21 22:36:30 -04:00
83254fb770
fix: authjs reads correct cookie in dev and prod
Avraham Sakal
2025-09-21 20:41:44 -04:00
67841355ac
fix: "enter" updates conversation title
Avraham Sakal
2025-09-21 20:40:58 -04:00
542b6e45c3
fix: type error
Avraham Sakal
2025-09-21 20:21:30 -04:00
185a16be6f
fix: production auth: was reading incorrect cookie
Avraham Sakal
2025-09-21 20:03:18 -04:00
bb4a581154
remove typebox, not used
Avraham Sakal
2025-09-21 19:42:29 -04:00
680d734f85
always traustHost
Avraham Sakal
2025-09-21 19:42:21 -04:00
edfaabeb0d
return failed jwt for debugging auth
Avraham Sakal
2025-09-21 19:37:04 -04:00
5bd5fbe9dc
fix: imported type
Avraham Sakal
2025-09-21 19:36:10 -04:00
6311966f92
fix: move new user creation code to isgnIn callback
Avraham Sakal
2025-09-21 19:20:10 -04:00
0207e4fc47
authz/authn on all trpc procedures
Avraham Sakal
2025-09-21 19:12:15 -04:00
fc70806b10
protect conversation trpc routes
Avraham Sakal
2025-09-21 17:26:51 -04:00
a7709e8abd
delete unneeded types
Avraham Sakal
2025-09-21 17:16:24 -04:00
360bfc6df3
drop db interface, use kysely instead for more more flexibility (at the cost of more coupling)
Avraham Sakal
2025-09-21 17:14:27 -04:00
21931a20cb
obsolete facts db layer
Avraham Sakal
2025-09-21 14:48:37 -04:00
a41b97b442
obsolete messages db layer
Avraham Sakal
2025-09-21 14:46:42 -04:00
3941b73b03
obsolete conversations db layer
Avraham Sakal
2025-09-21 14:44:43 -04:00
51b14c8b2b
fix: build errors (couldn't find package)
Avraham Sakal
2025-09-21 14:33:36 -04:00
f8c8c4906a
fix: type errors
Avraham Sakal
2025-09-21 14:23:59 -04:00
9ef79e99df
format
Avraham Sakal
2025-09-21 14:23:39 -04:00
d32515a75f
re-organize files
Avraham Sakal
2025-09-21 12:13:18 -04:00
61540f9338
basic user-tailored UI
Avraham Sakal
2025-09-18 10:45:00 -04:00
83e3f867dd
can sign in and out
Avraham Sakal
2025-09-18 10:05:20 -04:00
6d80d3a9a6
variable-length TextInput for conversation title
Avraham Sakal
2025-09-16 09:21:36 -04:00
db6057431a
oops. forgot to use openrouter from the ctx
Avraham Sakal
2025-09-16 09:14:48 -04:00
81338b8831
use environment variables from cloudflare's environment
Avraham Sakal
2025-09-16 09:09:33 -04:00
c98342e886
serverless-friendly postgres connection
Avraham Sakal
2025-09-14 22:25:13 -04:00
c48c069b10
add non-secret envs to wrangler.toml
Avraham Sakal
2025-09-14 22:09:50 -04:00
2b4cb55f65
get postgres connection string from environment variable
Avraham Sakal
2025-09-14 21:53:09 -04:00
641d8ad039
housekeeping
Avraham Sakal
2025-09-14 21:52:44 -04:00
f6b432a145
rename wrangler project
Avraham Sakal
2025-09-14 21:48:26 -04:00
cac6bf142c
scrollable message list with sticky conversation header
Avraham Sakal
2025-09-14 21:47:44 -04:00
6668361f05
UI overhaul: fonts, colors, scrollable message boxes, animated text generation status updates
Avraham Sakal
2025-09-14 16:17:01 -04:00
ebfbb22525
streaming response
Avraham Sakal
2025-09-14 13:36:43 -04:00
1dddae6a05
improve look
Avraham Sakal
2025-09-14 12:09:46 -04:00
af852e27b8
update AGENTS.md
Avraham Sakal
2025-09-01 21:24:53 -04:00
382f60de72
implement lowdb factTriggers.findByConversationId
Avraham Sakal
2025-09-01 21:13:18 -04:00
fef408d399
just use nemo, it's great
Avraham Sakal
2025-09-01 21:05:22 -04:00
b20c48ce0a
deletable messages
Avraham Sakal
2025-09-01 21:04:57 -04:00
d0902e9df1
site title at the top of the layout; more verbose "welcome" page
Avraham Sakal
2025-08-31 20:32:25 -04:00
8845f78810
filled menu icons when active
Avraham Sakal
2025-08-31 20:19:29 -04:00
84eaab08ea
expand use of react-query for state management
Avraham Sakal
2025-08-31 15:07:01 -04:00
20f6f6918f
optimistically update "delete conversation" mutation
Avraham Sakal
2025-08-31 13:40:28 -04:00
de316c3e7e
invalidate react-query queries upon mutations
Avraham Sakal
2025-08-31 12:33:53 -04:00
f4e9c62e96
transition to postgresql for persistence layer
Avraham Sakal
2025-08-31 12:04:18 -04:00
d827412feb
update postgresql schema
Avraham Sakal
2025-08-29 16:17:39 -04:00
afee7dd8c9
abstract application-to-database interface
Avraham Sakal
2025-08-29 16:17:20 -04:00
28a0be808a
remove unnecessary import
Avraham Sakal
2025-08-29 07:33:16 -04:00
d934c32855
custom logo
Avraham Sakal
2025-08-27 08:26:21 -04:00
b11c34b660
remove unnecessary pages and files that came with the Vike init
Avraham Sakal
2025-08-27 07:40:37 -04:00
18411402f5
example of SSE streaming
Avraham Sakal
2025-08-26 19:01:39 -04:00
2d35a4683b
begin migration to trpc/react-query integration
Avraham Sakal
2025-08-17 19:32:24 -04:00
cb749072f2
fix: object generation errors; easily-switchable model
Avraham Sakal
2025-08-15 17:01:34 -04:00
341cf5bff1
upgrade ai sdk to v5
Avraham Sakal
2025-08-15 16:27:25 -04:00
3aa252e248
upgraded dependencies (ai sdk v5)
Avraham Sakal
2025-08-10 17:47:12 -04:00
d44215841e
editable fact triggers in the UI
Avraham Sakal
2025-08-08 17:46:29 -04:00
df1e263ef7
editable facts in the UI
Avraham Sakal
2025-08-08 17:43:03 -04:00
46595649df
add "Fact Triggers" tab in UI
Avraham Sakal
2025-08-08 17:24:31 -04:00
2cea5500c8
lint
Avraham Sakal
2025-08-08 17:07:07 -04:00
a8eba580d0
biome format
Avraham Sakal
2025-08-08 17:02:53 -04:00
5e5549e85f
factored-out generateFromFact into fact-triggers module
Avraham Sakal
2025-08-08 17:02:09 -04:00
41e94feef6
factored-out generateRunningSummary into messages module
Avraham Sakal
2025-08-08 16:54:01 -04:00
84e9ff8bd2
factored-out fact generation into facts module
Avraham Sakal
2025-07-31 09:15:32 -04:00
083b7a275c
add TODO.md to make it easier to revisit the project in spurts
Avraham Sakal
2025-07-28 22:26:26 -04:00
c2815b4d83
generate fact triggers on each turn
Avraham Sakal
2025-07-28 22:15:59 -04:00
55d35e150c
slight refactor of delete-by-id implementation
Avraham Sakal
2025-07-28 22:15:40 -04:00
5c8620ef5e
use message.id as React key
Avraham Sakal
2025-07-28 21:34:18 -04:00
5d443ef1b1
improve clarity of generated facts by using proper pronouns to refer to the user
Avraham Sakal
2025-07-28 21:23:40 -04:00
bf0bfe5b07
improve prompt quality
Avraham Sakal
2025-07-27 18:25:40 -04:00
c69e4de738
cleaner UI
Avraham Sakal
2025-07-27 18:25:24 -04:00
91e38521aa
buttons on hover over message
Avraham Sakal
2025-07-27 17:40:23 -04:00
3b84e01057
refactor trpc procedures into domains
Avraham Sakal
2025-07-27 17:22:58 -04:00
25523559aa
fetch facts on load, facts are deletable
Avraham Sakal
2025-07-27 16:56:44 -04:00
caf36cf67b
each generation/completion uses one system prompt and one user prompt for maximum clarity for the model
Avraham Sakal
2025-07-27 13:36:01 -04:00
ee9e9424ab
generate and save facts
Avraham Sakal
2025-07-27 10:53:25 -04:00
d7716bd451
"chats" menu open by default
Avraham Sakal
2025-07-27 09:57:45 -04:00
01d2997f77
use lowdb for faster iteration; use strings for ids and camelCase for field names for consistency
Avraham Sakal
2025-07-27 09:46:34 -04:00
1f80ad4ba9
factored-out system prompts into their own functions
Avraham Sakal
2025-07-22 08:03:15 -04:00
5cfc70632e
display the runningSummary as markdown as well
Avraham Sakal
2025-07-21 20:42:09 -04:00
3ba60b999c
generate runningSummary on each turn, and include it with the main completion
Avraham Sakal
2025-07-21 20:38:42 -04:00
d4018bdc8e
configure opencode.json models properly
Avraham Sakal
2025-07-15 09:06:19 -04:00
c36ebfa4e7
add AGENTS.md for opencode
Avraham Sakal
2025-07-15 08:44:09 -04:00
af95d5d566
add opencode.json
Avraham Sakal
2025-07-15 08:19:51 -04:00
de26fc5eb5
improve ui consistency with immer; implement addConversation
Avraham Sakal
2025-07-14 07:51:24 -04:00
7a9f0c956c
setup postgres and kyseley for most data instead of milvus
Avraham Sakal
2025-07-13 20:14:53 -04:00
511f05af83
gather milvus collection creations into initialization function
Avraham Sakal
2025-07-11 17:49:37 -04:00
cccc1f0877
fix: load envs in env.js
Avraham Sakal
2025-07-11 17:48:43 -04:00
de0dafb518
begin database modeling, and user experience outline
Avraham Sakal
2025-07-11 09:26:31 -04:00
4f356153bb
* trpc same data shape as generateText * read .env file * use zustand for state management * fix peer dependency warnings by installing zod * install milvus client
Avraham Sakal
2025-06-30 08:44:49 -04:00
e0c5329ff6
fix: linting errors
Avraham Sakal
2025-06-29 15:21:40 -04:00
5ef118e9bc
basic route-specific trpc file example
Avraham Sakal
2025-06-29 15:17:10 -04:00
602ba72f75
format
Avraham Sakal
2025-06-27 16:25:35 -04:00
2a4ff2e509
setup pnpm/biome/vscode
Avraham Sakal
2025-06-27 16:12:47 -04:00
9916e95de0
scaffold Vike app with Bati
Bati
2025-06-26 21:42:05 -04:00