Merge pull request #3313 from fbricon/fix-embeddings
fix: don't override embeddings model name with UNSPECIFIED
This commit is contained in:
commit
5da2c5015d
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