109 Commits

Author SHA1 Message Date
perf3ct
cc0795f812
fix(llm): also add note_embeddings to froca and consistency tests 2025-06-02 15:49:45 +00:00
Elian Doran
d9249e3760
fix(server): webclipper not working due to import issue 2025-06-02 16:34:41 +03: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
Elian Doran
de83029c3a
refactor(server): various type errors 2025-05-21 15:42:53 +03:00
Elian Doran
6414dd71ab
refactor(server): more unaccessible types 2025-05-21 15:42:35 +03:00
Elian Doran
7aaa94d01b
refactor(server): missing exports causing hidden types 2025-05-21 15:34:31 +03:00
Elian Doran
b9df707369
refactor(server): type errors due to change in API 2025-05-21 15:34:16 +03:00
SiriusXT
04bd541542 fix(markdown): Make the math formula conversion ignore formulas inside code blocks 2025-05-21 17:15:54 +08:00
Elian Doran
d06b2c4c00
fix(server): @fs proxy not working correctly 2025-05-20 18:23:02 +03:00
SiriusXT
6a9b44e4a1 Fixed indentation 2025-05-20 22:14:30 +08:00
SiriusXT
6e8e343301 fix(import): Unable to handle multi line mathematical formulas when importing markdown 2025-05-20 22:03:40 +08:00
Elian Doran
e536ec4cbf
fix(vite): use base path 2025-05-19 19:51:33 +03:00
Elian Doran
a5f0b3b9b2
Merge remote-tracking branch 'origin/develop' into client_vite 2025-05-19 16:50:00 +03:00
Elian Doran
41533598fd
Merge remote-tracking branch 'origin/develop' into client_vite 2025-05-19 16:42:11 +03:00
Elian Doran
f92047bcac
refactor(common): rename highlightjs to markdown language code 2025-05-18 20:22:32 +03:00
Elian Doran
1a4d1bc791
refactor(commons): deduplicate mime_type_definitions 2025-05-18 19:33:11 +03:00
Elian Doran
4537dfa660
chore(highlightjs): reintroduce grouping of themes 2025-05-18 18:58:46 +03:00