Skip to content

Commit

Permalink
Removing reference to nonexistent method
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-ogrady committed Jan 24, 2025
1 parent 0d11564 commit 3c61b3d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class NvidiaRerankComponent(LCVectorStoreComponent):
def update_build_config(self, build_config: dotdict, field_value: Any, field_name: str | None = None):
if field_name == "base_url" and field_value:
try:
build_model = self.build_model()
build_model = self.build_reranker()
ids = [model.id for model in build_model.available_models]
build_config["model"]["options"] = ids
build_config["model"]["value"] = ids[0]
Expand Down

0 comments on commit 3c61b3d

Please sign in to comment.