Skip to content

Commit

Permalink
Fix use of jai_config_manager
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed May 2, 2024
1 parent 18e57f4 commit 5ac3cf3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def __init__(self, *args, **kwargs) -> None:
self._llm_params = None

def get_llm(self) -> Optional[BaseProvider]:
lm_provider = self.config_manager.completions_lm_provider
lm_provider_params = self.config_manager.completions_lm_provider_params
lm_provider = self.jai_config_manager.completions_lm_provider
lm_provider_params = self.jai_config_manager.completions_lm_provider_params

if not lm_provider or not lm_provider_params:
return None
Expand Down

0 comments on commit 5ac3cf3

Please sign in to comment.