[chore] fix lint issues (#607)

This commit is contained in:
Deshraj Yadav
2023-09-12 20:04:31 -07:00
committed by GitHub
parent 0f23d5f967
commit 701d0b21ef
2 changed files with 2 additions and 5 deletions

View File

@@ -204,7 +204,7 @@ class BaseLlm(JSONSerializable):
finally:
if config:
# Restore previous config
self.config: BaseLlmConfig = BaseLlmConfig.deserialize(prev_config)
self.config: BaseLlmConfig = BaseLlmConfig.deserialize(prev_config)
def chat(self, input_query: str, contexts: List[str], config: BaseLlmConfig = None, dry_run=False):
"""