fix(analyze): correct kb-deep-analyzer path calculation
- Add one more .parent to reach correct directory level - Fixed path: /home/.../kb-skills/kb-deep-analyzer (was /home/.../kb-skills/kb_workflow/kb-deep-analyzer) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -202,7 +202,7 @@ class AnalyzeProcessor(BaseProcessor):
|
|||||||
# Lazy import with delayed sys.path modification for external kb-deep-analyzer
|
# Lazy import with delayed sys.path modification for external kb-deep-analyzer
|
||||||
global _deep_analyzer_path_added
|
global _deep_analyzer_path_added
|
||||||
if not _deep_analyzer_path_added:
|
if not _deep_analyzer_path_added:
|
||||||
_kb_deep_analyzer_path = Path(__file__).parent.parent.parent / "kb-deep-analyzer"
|
_kb_deep_analyzer_path = Path(__file__).parent.parent.parent.parent / "kb-deep-analyzer"
|
||||||
if str(_kb_deep_analyzer_path) not in sys.path:
|
if str(_kb_deep_analyzer_path) not in sys.path:
|
||||||
sys.path.insert(0, str(_kb_deep_analyzer_path))
|
sys.path.insert(0, str(_kb_deep_analyzer_path))
|
||||||
_deep_analyzer_path_added = True
|
_deep_analyzer_path_added = True
|
||||||
|
|||||||
Reference in New Issue
Block a user