From 0ad3c83b4404d86bdcd68de0609557f08e72d742 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Mon, 24 Feb 2025 14:03:28 -0800 Subject: [PATCH] comment --- core/config/yaml/models.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/config/yaml/models.ts b/core/config/yaml/models.ts index d77e27a7b..c6916b010 100644 --- a/core/config/yaml/models.ts +++ b/core/config/yaml/models.ts @@ -58,7 +58,10 @@ async function modelConfigToBaseLLM( options.maxEmbeddingChunkSize = model.embedOptions.maxChunkSize; } - // Things that are in config types for + // These are params that are at model config level in JSON + // But we decided to move to nested `env` in YAML + // Since types vary and we don't want to blindly spread env for now, + // Each one is handled individually here const env = model.env ?? {}; if ( "useLegacyCompletionsEndpoint" in env &&