Commit Graph

486 Commits

Author SHA1 Message Date
perf3ct
d2ba270fdf fix(llm): sending messages no longer throws an error at first 2025-06-03 00:18:45 +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
aad92b57c7 fix(llm): prevent sent message duplication 2025-06-02 22:47:30 +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
Elian Doran
4ed30e0624 test(etapi): port basic-auth 2025-06-02 21:43:40 +03:00
Elian Doran
95641a3b6d test(etapi): port search 2025-06-02 21:16:57 +03:00
Elian Doran
4e81be8c76 test(etapi): port other 2025-06-02 20:59:25 +03:00
Elian Doran
887a7f900c test(etapi): port create-entities 2025-06-02 20:36:53 +03:00
Elian Doran
6121fb0ad6 test(etapi): port create-backup 2025-06-02 19:30:06 +03:00
Elian Doran
9e6d78b625 test(etapi): port no-token 2025-06-02 19:26:36 +03:00
Elian Doran
f9f3f1983f test(etapi): port basic-auth 2025-06-02 19:16:48 +03:00
Elian Doran
b88af5e4b3 test(etapi): port api-metrics 2025-06-02 19:02:01 +03:00
Elian Doran
053ff0568d test(etapi): port app-info 2025-06-02 18:51:10 +03: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
Elian Doran
1af20bdb73 fix(vite): tests not runnable 2025-06-02 16:25:19 +03:00
Elian Doran
b0e5190718 Merge pull request #2081 from TriliumNext/renovate/openai-5.x
chore(deps): update dependency openai to v5
2025-06-02 09:10:17 +03:00
Elian Doran
f4c74b5c7c Merge pull request #2080 from TriliumNext/renovate/mime-types-3.x
chore(deps): update dependency @types/mime-types to v3
2025-06-02 09:08:42 +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
Elian Doran
68d094d119 docs(guide): mention geo map updates 2025-06-01 15:52:03 +03:00
perf3ct
2c48a70bfb feat(llm): use ckeditor for text input area for mention support instead of textinput 2025-06-01 03:03:26 +00:00
perf3ct
3fae664877 feat(llm): add utils for excluding notes from LLM 2025-06-01 02:51:36 +00:00
renovate[bot]
7c2bb38182 chore(deps): update dependency openai to v5 2025-06-01 01:52:10 +00:00
renovate[bot]
2fb2fcf88b chore(deps): update dependency @types/mime-types to v3 2025-06-01 01:51:27 +00:00
perf3ct
ba98bd9097 Merge branch 'develop' into feat/llm-integration-part2 2025-05-31 10:48:00 -07:00
Elian Doran
5ae9f8588e Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-31 13:36:32 +03:00
Elian Doran
1b5e51b285 fix(server): entrypoint for standalone server 2025-05-31 13:36:28 +03:00
renovate[bot]
d7cb09c71c chore(deps): update dependency openai to v4.104.0 2025-05-31 09:17:24 +00:00
renovate[bot]
60526c21fb chore(deps): update dependency ollama to v0.5.16 2025-05-31 02:58:06 +00:00
Elian Doran
5af4d65d1f chore(server): bump node version 2025-05-31 01:32:52 +03:00
Elian Doran
5d2a779817 chore(server): remove now redundant shebang 2025-05-31 00:19:06 +03:00
Elian Doran
7542038756 fix(style): context menu appearing while page is loading 2025-05-30 22:01:12 +03:00
Elian Doran
355d1cfb5e chore(docs): sync 2025-05-30 21:45:45 +03: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