mirror of
https://github.com/open-webui/computer.git
synced 2026-11-25 14:57:45 -05:00
refac
This commit is contained in:
1 parent
07f35e7060
commit
c4a0fb304b
2 files changed
+2
-4
No files matched your search
@@ -1145,7 +1145,7 @@ def _is_provider_replayable_reasoning_item(item: dict) -> bool:
|
||||
return False
|
||||
if item.get("status") not in (None, "completed"):
|
||||
return False
|
||||
if str(item.get("id", "")).startswith("reasoning-") and item.get("source") != "provider":
|
||||
if str(item.get("id", "")).startswith("reasoning-"):
|
||||
return False
|
||||
if item.get("encrypted_content") or item.get("reasoning_details"):
|
||||
return True
|
||||
|
||||
Reference in new issue
Block a user