fix: don't override embeddings model name with UNSPECIFIED
Signed-off-by: Fred Bricon <fbricon@gmail.com>
This commit is contained in:
parent
d7ef0a3b1b
commit
bc79388634
1 changed files with 1 additions and 1 deletions
|
|
@ -457,7 +457,7 @@ async function intermediateToFinalConfig(
|
|||
} else {
|
||||
const llmOptions: LLMOptions = {
|
||||
...options,
|
||||
model: "UNSPECIFIED",
|
||||
model: options.model ?? "UNSPECIFIED"
|
||||
};
|
||||
config.embeddingsProvider = new embeddingsProviderClass(
|
||||
llmOptions,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue