Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

fix(symphony): 撤销config.py中的修改

xutuo723c2ac86355
diff --git a/jiuwenswarm/symphony/skill_retrieval/config.py b/jiuwenswarm/symphony/skill_retrieval/config.py
index 0320daf24f..2fb82769fc 100644
--- a/jiuwenswarm/symphony/skill_retrieval/config.py
+++ b/jiuwenswarm/symphony/skill_retrieval/config.py
@@ -7,11 +7,7 @@ from typing import Any
from jiuwenswarm.common.config import get_config
from jiuwenswarm.common.utils import get_agent_workspace_dir
-from jiuwenswarm.symphony.skill_retrieval.taxonomy_config import (
- DEFAULT_ROOT_CATEGORIES_TEXT,
- coerce_root_categories_value,
- parse_root_categories_text,
-)
+from jiuwenswarm.symphony.skill_retrieval.taxonomy_config import coerce_root_categories_value
@dataclass(frozen=True)
@@ -176,9 +172,7 @@ def _as_bool(value: Any, default: bool) -> bool:
def _as_optional_root_categories(value: Any) -> Any:
- return coerce_root_categories_value(value, allow_path=True) or parse_root_categories_text(
- DEFAULT_ROOT_CATEGORIES_TEXT
- )
+ return coerce_root_categories_value(value, allow_path=True)
def _as_int(value: Any, default: int) -> int: