123 Commits

Author SHA1 Message Date
perf3ct
b76166b0d5
fix(llm): always fetch the embedding model 2025-06-03 05:13:32 +00:00
perf3ct
d4d55b20a8
fix(llm): get rid of a lot of log.info() statements that were spammy 2025-06-03 03:00:15 +00:00
perf3ct
ab3758c9b3
refactor(llm): resolve issue with headers being sent after request was sent 2025-06-02 23:54:38 +00:00
perf3ct
e7e04b7ccd
refactor(llm): streamline chat response handling by simplifying content accumulation and removing unnecessary thinking content processing 2025-06-02 23:25:15 +00:00
perf3ct
7b498cf384
refactor(llm): update chat saving logic to prevent race conditions between client and server 2025-06-02 22:30:59 +00:00
perf3ct
ed64a5b4f7
refactor(llm): simplify chat handling by removing session store and directly integrating chat storage service 2025-06-02 22:09:59 +00:00
perf3ct
d8d5318ace
refactor(llm): remove deprecated validateEmbeddingProviders method and update session handling in chat services 2025-06-02 21:55:52 +00:00
perf3ct
3a55735cd5
refactor(llm): implement new configuration methods for provider order and validation, enhancing error handling and deprecating legacy functions 2025-06-02 21:49:35 +00:00
perf3ct
5a5a69ebb8
refactor(llm): streamline model selection by utilizing the new configuration system and enhance error handling 2025-06-02 21:44:43 +00:00
perf3ct
ce7c4a31a1
refactor(llm): enhance configuration handling to avoid default assumptions and improve error handling 2025-06-02 21:43:36 +00:00
perf3ct
45175b6af3
refactor(llm): integrate new configuration system for provider management and model selection 2025-06-02 21:36:19 +00:00
perf3ct
00ce765e96
Merge branch 'develop' into feat/llm-integration-part3 2025-06-02 20:24:18 +00:00
perf3ct
dcab4caee3
feat(llm): redo chat storage, part 3 2025-06-02 15:12:08 +00:00
Elian Doran
d9249e3760
fix(server): webclipper not working due to import issue 2025-06-02 16:34:41 +03:00
perf3ct
f6af617f6b
feat(llm): redo chat storage, part 2 2025-06-02 02:38:21 +00:00
perf3ct
35f78aede9
feat(llm): redo chat storage, part 1 2025-06-02 00:56:19 +00:00
perf3ct
3fae664877
feat(llm): add utils for excluding notes from LLM 2025-06-01 02:51:36 +00:00
perf3ct
ba98bd9097
Merge branch 'develop' into feat/llm-integration-part2 2025-05-31 10:48:00 -07:00
Elian Doran
adc9172681
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-30 21:33:28 +03:00
Elian Doran
8994f537dc
fix(migration): use bundleable migrations
This fixes TypeScript migrations, which were not being run correctly
even in previous versions.

On the ESBuild version, neither SQL migrations worked due to the fact
that they were not being bundled.
2025-05-30 21:32:35 +03:00
Elian Doran
b93e44a38f
fix(llm): button shown even if disabled 2025-05-30 17:39:38 +03:00
perf3ct
a7906d6b99
refactor(llm): improve search tools error handling and parameter validation with clearer guidance 2025-05-30 00:23:18 +00:00
perf3ct
910c5039f4
feat(llm): add LLM guidance system for failed tool executions and validations 2025-05-30 00:15:40 +00:00
perf3ct
f04e56137b
refactor(llm): improve type safety in tool calling stage and simplify tool call handling 2025-05-29 22:05:38 +00:00
perf3ct
7c63652105
feat(llm): improve type safety and error handling in tool call transformations 2025-05-29 22:03:23 +00:00
perf3ct
2f303b1ae9
feat(llm): also update OpenAI tool usage prompts 2025-05-29 21:58:03 +00:00
perf3ct
8f8b9d9e3b
feat(llm): really try to coax ollama to run tools 2025-05-29 21:24:04 +00:00
perf3ct
87859aec1c
fix(llm): reduce the use of "any" in the tool_calling_stage and update prompt for tool calling 2025-05-29 21:15:05 +00:00
perf3ct
ba59d6b3c1
feat(llm): reduce the use of "any" in the tool calling stage 2025-05-29 21:07:12 +00:00
perf3ct
511d2c5e96
feat(llm): add empty result handling and parameter adjustment suggestions for tool execution 2025-05-29 21:04:06 +00:00
perf3ct
6169efe96b
fix(llm): make sure the default option for ollama in settings matches what the client shows 2025-05-29 20:47:25 +00:00
perf3ct
f6329aab73
fix(llm): fix provider error checking 2025-05-29 20:45:27 +00:00
Elian Doran
b88f07c202
refactor(server): add missing override 2025-05-29 13:34:42 +03:00
Elian Doran
ff106e21cf
chore(server): fix more type errors 2025-05-28 19:57:55 +03:00
Elian Doran
ba7c93967e
chore(server): fix some type errors 2025-05-28 19:03:53 +03:00
Elian Doran
79422da733
Merge pull request #2014 from FliegendeWurst/demo-mode
feat(server): add option to mount database read-only
2025-05-26 16:47:10 +03:00
Elian Doran
82f94ff3e6
fix(server): wrong import for dayjs 2025-05-25 16:33:34 +03:00
Elian Doran
fa9d0be651
refactor(server): async import without side effects 2025-05-25 14:09:51 +03:00
FliegendeWurst
5acdb698bb fix(server): don't optimize database in read-only mode 2025-05-24 17:35:52 +02:00
FliegendeWurst
bd0cb91171 feat(server): log ignored DB changes in wrapper 2025-05-24 17:35:52 +02:00
Elian Doran
43d9f77518
fix(desktop/esbuild): asset path not working at runtime 2025-05-23 17:56:44 +03:00
Elian Doran
1abf1d3f60
chore(server/esbuild): switch to cjs to embed deps 2025-05-23 11:58:36 +03:00
Elian Doran
5501733498
refactor(server): unnecessary usage of fs-extra 2025-05-22 23:06:04 +03:00
Elian Doran
edc180189c
Merge remote-tracking branch 'origin/develop' into feature/server_esbuild 2025-05-22 12:24:02 +03:00
Elian Doran
100184121c
Merge pull request #1984 from TriliumNext/markdown-math
fix(import): Unable to handle multi line mathematical formulas when i…
2025-05-21 23:55:51 +03:00
Elian Doran
b59af770c2
fix(server): server not starting due to dependency on electron remote 2025-05-21 18:06:09 +03:00
FliegendeWurst
fd0f0196cc feat(server): add option to mount database read-only 2025-05-21 17:00:08 +02:00
Elian Doran
9d6758b315
refactor(server); electron imports causing issues in bundle 2025-05-21 16:32:51 +03:00
Elian Doran
fe8b905922
refactor(serve): unnecessary export causing issues with types 2025-05-21 16:32:30 +03:00
Elian Doran
3b6679a744
refactor(serve): solve some more type errors 2025-05-21 16:00:57 +03:00