Add debug logging for cache response retrieval
This commit is contained in:
parent
fdc9017ded
commit
873b52d2e4
1 changed files with 1 additions and 0 deletions
|
|
@ -368,6 +368,7 @@ async def get_best_cached_response(
|
||||||
original_prompt=None,
|
original_prompt=None,
|
||||||
cache_type=None,
|
cache_type=None,
|
||||||
) -> Union[str, None]:
|
) -> Union[str, None]:
|
||||||
|
logger.debug(f"get_best_cached_response: mode={mode} cache_type={cache_type}")
|
||||||
mode_cache = await hashing_kv.get_by_id(mode)
|
mode_cache = await hashing_kv.get_by_id(mode)
|
||||||
if not mode_cache:
|
if not mode_cache:
|
||||||
return None
|
return None
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue