Skip to content

Commit 7ef9dfa

Browse files
committed
fix: remove long comment on UiPathFireworksEmbeddings model field
1 parent 822806b commit 7ef9dfa

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • packages/uipath_langchain_client/src/uipath_langchain_client/clients/fireworks

packages/uipath_langchain_client/src/uipath_langchain_client/clients/fireworks/embeddings.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ class UiPathFireworksEmbeddings(UiPathBaseEmbeddings, FireworksEmbeddings):
3131
freeze_base_url=True,
3232
)
3333

34-
# Override FireworksEmbeddings.model so that Pydantic merges it with
35-
# UiPathBaseLLMClient.model_name (alias="model") into a single field.
36-
# Without this, two separate fields coexist: FireworksEmbeddings.model
37-
# (default "nomic-ai/nomic-embed-text-v1.5") and model_name, causing
38-
# self.model to always return the stale FireworksEmbeddings default
39-
# instead of the model name supplied by the caller.
4034
model: str = Field(default="", alias="model_name")
4135

4236
@model_validator(mode="after")

0 commit comments

Comments
 (0)