Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

fix: replace bare except with Exception in llm utils (#152)

thecaptain789eececbddfa06
diff --git a/openviking_cli/utils/llm.py b/openviking_cli/utils/llm.py
index f82cda41e..4840b5a1e 100644
--- a/openviking_cli/utils/llm.py
+++ b/openviking_cli/utils/llm.py
@@ -104,7 +104,7 @@ def _fix_json_quotes(json_str: str) -> str:
try:
fixed = re.sub(pattern, fix_quotes_in_match, json_str)
return fixed
- except:
+ except Exception:
return json_str