mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
Add layer-detector module with four exported functions: - detectLayers: heuristic detection using directory path patterns - buildLayerDetectionPrompt: generates LLM prompt for layer identification - parseLayerDetectionResponse: parses LLM JSON response with fence handling - applyLLMLayers: applies LLM-provided layer definitions to the graph Includes 10 tests covering all four functions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>