diff --git a/core/config/yaml/convertFromJson.ts b/core/config/yaml/convertFromJson.ts index 072dc79de..dbc567005 100644 --- a/core/config/yaml/convertFromJson.ts +++ b/core/config/yaml/convertFromJson.ts @@ -2,6 +2,9 @@ import { AssistantUnrolled, ModelConfig } from "@continuedev/config-yaml"; import { SerializedContinueConfig } from "../.."; +/* +TODO this is not functional +*/ export function convertConfigJsonToConfigYaml( configJson: SerializedContinueConfig, ): AssistantUnrolled { diff --git a/core/config/yaml/models.ts b/core/config/yaml/models.ts index 57caf324a..e9d5bd55c 100644 --- a/core/config/yaml/models.ts +++ b/core/config/yaml/models.ts @@ -39,7 +39,7 @@ async function modelConfigToBaseLLM( let options: LLMOptions = { ...rest, - // contextLength: model.defaultCompletionOptions?.contextLength ?? undefined, + contextLength: model.defaultCompletionOptions?.contextLength, completionOptions: { ...(model.defaultCompletionOptions ?? {}), model: model.model,