mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-22 20:28:07 +08:00
feat(llm): also have the embedding provider settings be changeable
This commit is contained in:
parent
63722a28a2
commit
5bc2c3ac18
@ -100,14 +100,18 @@ const ALLOWED_OPTIONS = new Set<OptionNames>([
|
|||||||
"openaiBaseUrl",
|
"openaiBaseUrl",
|
||||||
"openaiDefaultModel",
|
"openaiDefaultModel",
|
||||||
"openaiEmbeddingModel",
|
"openaiEmbeddingModel",
|
||||||
|
"openaiEmbeddingApiKey",
|
||||||
|
"openaiEmbeddingBaseUrl",
|
||||||
"anthropicApiKey",
|
"anthropicApiKey",
|
||||||
"anthropicBaseUrl",
|
"anthropicBaseUrl",
|
||||||
"anthropicDefaultModel",
|
"anthropicDefaultModel",
|
||||||
"voyageApiKey",
|
"voyageApiKey",
|
||||||
"voyageEmbeddingModel",
|
"voyageEmbeddingModel",
|
||||||
|
"voyageEmbeddingBaseUrl",
|
||||||
"ollamaBaseUrl",
|
"ollamaBaseUrl",
|
||||||
"ollamaDefaultModel",
|
"ollamaDefaultModel",
|
||||||
"ollamaEmbeddingModel",
|
"ollamaEmbeddingModel",
|
||||||
|
"ollamaEmbeddingBaseUrl",
|
||||||
"embeddingAutoUpdateEnabled",
|
"embeddingAutoUpdateEnabled",
|
||||||
"embeddingDimensionStrategy",
|
"embeddingDimensionStrategy",
|
||||||
"embeddingSelectedProvider",
|
"embeddingSelectedProvider",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user