delete unreachable code
This commit is contained in:
parent
002232346d
commit
50a17bb4f9
1 changed files with 0 additions and 18 deletions
|
|
@ -455,24 +455,6 @@ async def ollama_model_if_cache(
|
|||
),
|
||||
)
|
||||
return result
|
||||
result = response["message"]["content"]
|
||||
|
||||
# Save to cache
|
||||
await save_to_cache(
|
||||
hashing_kv,
|
||||
CacheData(
|
||||
args_hash=args_hash,
|
||||
content=result,
|
||||
model=model,
|
||||
prompt=prompt,
|
||||
quantized=quantized,
|
||||
min_val=min_val,
|
||||
max_val=max_val,
|
||||
mode=mode,
|
||||
),
|
||||
)
|
||||
|
||||
return result
|
||||
|
||||
|
||||
@lru_cache(maxsize=1)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue