feat(llm): also have the embedding provider settings be changeable

This commit is contained in:
perf3ct 2025-06-04 22:58:20 +00:00
parent 63722a28a2
commit 5bc2c3ac18
No known key found for this signature in database
GPG Key ID: 569C4EEC436F5232

View File

@ -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",