1331 Commits

Author SHA1 Message Date
perf3ct
3bddb60ecc
get anthropic sdk to send tools
nice

close

what is even going on lol

anthropic tools mostly work
2025-04-15 01:08:25 +00:00
Jon Fuller
8727ff95f1
Merge branch 'develop' into ai-llm-integration 2025-04-11 13:27:51 -07:00
perf3ct
451e5ea31f
getting closer to streaming?
even closer?

closer streaming...

this is darn close
2025-04-11 20:18:20 +00:00
Jin
7f381cb733 fix: 🐛 fix sender.ts build error 2025-04-10 20:59:18 +02:00
Jin
6322f8473c fix: 🐛 fix clipper build error 2025-04-10 20:58:04 +02:00
Elian Doran
32a6aed93b
Merge remote-tracking branch 'origin/develop' into calendar 2025-04-10 21:25:58 +03:00
perf3ct
6fe2b87901
rip out openai custom implementation in favor of sdk 2025-04-09 21:16:29 +00:00
perf3ct
f71351db6a
also rip out our custom anthropic implementation 2025-04-09 21:08:30 +00:00
perf3ct
53223b5750
well, we ripped out our custom ollama implementation in favor of the SDK 2025-04-09 20:33:55 +00:00
Panagiotis Papadopoulos
c494cca229
Merge branch 'develop' into type_sql-transactional 2025-04-09 09:44:47 +02:00
Panagiotis Papadopoulos
da649d75c0 refactor(routes/api/recovery_codes): use Array.from with mapFn in generateRecoveryCodes
gives us the identical result as before, but a lot more concise and "DRY"
2025-04-09 09:43:38 +02:00
Panagiotis Papadopoulos
68ea84a2cb refactor(routes/api/recovery_codes): use .map instead of .forEach
it doesn't make sense to use a forEach here, when all we do is push values into an array => just use .map directly as it returns an array
2025-04-09 09:24:28 +02:00
Panagiotis Papadopoulos
05917fd815 fix(routes/api/recovery_codes): convert number into string
fixes type error, as usedStatus is expecting string[] and "indexOf" returns a number
2025-04-09 09:21:20 +02:00
Elian Doran
5daed43c0f
Merge branch 'develop' into ai-llm-integration 2025-04-06 18:07:39 +03:00
Jin
6a0207dc45 fix: 🐛 fix async errors 2025-04-04 13:46:39 +02:00
Jin
bf70b949a6 Merge branch 'develop' into calendar 2025-04-02 23:28:15 +02:00
Panagiotis Papadopoulos
3f0dbb9063 chore: fix typo in verifyRecoveryCode function name 2025-04-02 21:41:48 +02:00
perf3ct
14705eb1c5
split up sendMessage into its own service 2025-04-02 19:14:26 +00:00
perf3ct
caada309ec
try using XML tags in sending to LLM, so it can more easily pick out information 2025-04-02 18:57:04 +00:00
Jin
396c32bb7d Merge branch 'develop' into calendar 2025-04-02 12:23:19 +02:00
perf3ct
49076e3cf6
clean up unused options 2025-04-01 20:38:03 +00:00
Elian Doran
ba506c9c10
refactor(dev): use es6-string-html for some of the SQL statements (closes #274) 2025-04-01 23:30:21 +03:00
perf3ct
7ae55de8b1
move the embeddings api endpoint to underneath llm 2025-04-01 18:44:10 +00:00
perf3ct
1690217797
update LLM API endpoints 2025-04-01 10:55:20 -07:00
Jin
50009bfb6e feat: 🎸 add frontend api support 2025-04-01 19:13:09 +02:00
Jin
1313003bdb feat: 🎸 add create week note func 2025-04-01 16:57:52 +02:00
SiriusXT
adcb803caa To prevent search lag when there are a large number of notes 2025-04-01 21:07:15 +08:00
Jin
674e5976ef refactor: 💡 rename getWeekNote to getWeekFirstDayNote 2025-04-01 14:46:35 +02:00
SiriusXT
a7799d32b0 To prevent search lag when there are a large number of notes 2025-04-01 18:47:07 +08:00
Jin
ae7aaaf263 fix: 🐛 fix calendar option error 2025-03-31 21:40:33 +02:00
perf3ct
435e7cdd4f
Merge branch 'develop' into ai-llm-integration 2025-03-31 15:55:41 +00:00
perf3ct
997edd8de8
clean up anthropic constant locations 2025-03-30 19:50:16 +00:00
Elian Doran
a9193fdcd4
feat(autocomplete): display note icon 2025-03-29 22:04:34 +02:00
Jin
02c4a269be feat: 🎸 upgrade db version 2025-03-29 01:44:25 +01:00
Jin
77f62b94cc refactor: 💡 refact recovery code 2025-03-29 01:40:17 +01:00
perf3ct
2311c3c049
centralize LLM constants more 2025-03-28 23:25:06 +00:00
perf3ct
224cb22fe9
centralize prompts 2025-03-28 23:07:02 +00:00
perf3ct
72c380b6f4
do a wayyy better job at building the messages with context 2025-03-28 22:50:15 +00:00
perf3ct
ea4d3ac800
Do a better job with Ollama context, again 2025-03-28 22:29:33 +00:00
perf3ct
2899707e64
Better use of interfaces, reducing useage of "any" 2025-03-28 21:47:28 +00:00
Jin
5742d3068e feat: 🎸 move totp services to encryption logic 2025-03-28 02:15:25 +01:00
Jin
d92fa82ad0 feat: 🎸 set option status 2025-03-28 01:00:58 +01:00
Elian Doran
35fbc731a7
Merge branch 'develop' into ai-llm-integration 2025-03-26 22:46:36 +02:00
perf3ct
baef5f9ada
fix updateProvider parameter 2025-03-26 19:21:59 +00:00
perf3ct
15630fb432
add swaggerUI docstrings for LLM/AI API routes 2025-03-26 19:19:19 +00:00
perf3ct
713805394c
move providers.ts into providers folder 2025-03-26 19:10:16 +00:00
perf3ct
c49883fdfa
move constants to their own files and folder 2025-03-26 17:56:37 +00:00
perf3ct
44b6734034
anthropic works 2025-03-26 04:13:04 +00:00
Jin
d010e6cc73 Merge branch 'develop' into feature/MFA 2025-03-26 03:56:53 +01:00
Jin
ce053323a9 feat: 🎸 Format code 2025-03-26 03:53:00 +01:00