Merge branch 'main' into rerank
This commit is contained in:
commit
bdcb280731
1 changed files with 2 additions and 0 deletions
|
|
@ -176,6 +176,8 @@ async def openai_complete_if_cache(
|
||||||
verbose_debug(f"Query: {prompt}")
|
verbose_debug(f"Query: {prompt}")
|
||||||
logger.debug("===== Sending Query to LLM =====")
|
logger.debug("===== Sending Query to LLM =====")
|
||||||
|
|
||||||
|
messages = kwargs.pop("messages", messages)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Don't use async with context manager, use client directly
|
# Don't use async with context manager, use client directly
|
||||||
if "response_format" in kwargs:
|
if "response_format" in kwargs:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue