[Improvement] Fix deprecation warnings (#1288)

This commit is contained in:
Deshraj Yadav
2024-02-27 15:10:41 -08:00
committed by GitHub
parent 56bf33ab7f
commit 09cdaff9a2
12 changed files with 13 additions and 47 deletions

View File

@@ -37,4 +37,4 @@ class VLLM(BaseLlm):
llm_args.update(config.model_kwargs)
llm = BaseVLLM(**llm_args)
return llm(prompt)
return llm.invoke(prompt)