Refactor keyword extraction handling in async wrapper for OpenAI completion
This commit is contained in:
parent
de190603c3
commit
b0c98531b0
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ def create_app(args):
|
|||
prompt, system_prompt=None, history_messages=[], **kwargs
|
||||
):
|
||||
"""Async wrapper for OpenAI completion"""
|
||||
keyword_extraction = kwargs.pop("keyword_extraction", None)
|
||||
kwargs.pop("keyword_extraction", None)
|
||||
|
||||
return await azure_openai_complete_if_cache(
|
||||
args.model,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue