mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
Merge pull request #200 from AsimRaza10/fix/agent-model-omit-inherit
fix(agents): omit `model: inherit` so non-Claude tools don't see a bad model id
This commit is contained in:
@@ -26,7 +26,7 @@ An open-source tool combining LLM intelligence + static analysis to produce inte
|
||||
|
||||
## Agent Pipeline
|
||||
- Agents write intermediate results to `.understand-anything/intermediate/` on disk (not returned to context)
|
||||
- Agent models: all set to `inherit` for cross-platform compatibility (Claude Code, Cursor, opencode, etc.)
|
||||
- Agent model field is omitted from frontmatter so each platform falls back to its configured default — `inherit` was a Claude Code-only keyword that opencode (and similar tools) treated as a literal model id and rejected with `ProviderModelNotFoundError` (see #167)
|
||||
- `/understand` auto-triggers `/understand-dashboard` after completion
|
||||
- Intermediate files cleaned up after graph assembly
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@ name: architecture-analyzer
|
||||
description: |
|
||||
Analyzes a codebase's file structure, summaries, and import relationships to identify
|
||||
logical architectural layers and assign every file to exactly one layer.
|
||||
model: inherit
|
||||
---
|
||||
|
||||
# Architecture Analyzer
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
name: article-analyzer
|
||||
description: |
|
||||
Analyzes markdown files using pre-parsed structural data and LLM inference to extract knowledge graph nodes and edges (entities, claims, implicit relationships, topic clustering).
|
||||
model: inherit
|
||||
---
|
||||
|
||||
# Article Analyzer Agent
|
||||
|
||||
@@ -3,7 +3,6 @@ name: assemble-reviewer
|
||||
description: |
|
||||
Reviews the output of merge-batch-graphs.py for semantic issues the script
|
||||
cannot catch. Recovers dropped nodes/edges and fills cross-batch gaps.
|
||||
model: inherit
|
||||
---
|
||||
|
||||
# Assemble Reviewer
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
name: domain-analyzer
|
||||
description: |
|
||||
Analyzes codebases to extract business domain knowledge — domains, business flows, and process steps. Produces a domain-graph.json that maps how business logic flows through the code.
|
||||
model: inherit
|
||||
---
|
||||
|
||||
# Domain Analyzer Agent
|
||||
|
||||
@@ -4,7 +4,6 @@ description: |
|
||||
Analyzes batches of source files to produce knowledge graph nodes and edges.
|
||||
Extracts file structure, functions, classes, and relationships using a two-phase
|
||||
approach: structural extraction script followed by LLM semantic analysis.
|
||||
model: inherit
|
||||
---
|
||||
|
||||
# File Analyzer
|
||||
|
||||
@@ -3,7 +3,6 @@ name: graph-reviewer
|
||||
description: |
|
||||
Validates knowledge graphs for correctness, completeness, and quality.
|
||||
Runs systematic checks and renders approval or rejection decisions.
|
||||
model: inherit
|
||||
---
|
||||
|
||||
# Graph Reviewer
|
||||
|
||||
@@ -5,7 +5,6 @@ description: |
|
||||
with an Understand-Anything knowledge graph. Guides users through graph
|
||||
structure, node/edge relationships, layer architecture, tours, and
|
||||
dashboard usage.
|
||||
model: inherit
|
||||
---
|
||||
|
||||
You are an expert on Understand-Anything knowledge graphs. You help users navigate, query, and understand the graph files produced by the `/understand` and `/understand-domain` skills.
|
||||
|
||||
@@ -3,7 +3,6 @@ name: project-scanner
|
||||
description: |
|
||||
Scans a codebase directory to produce a structured inventory of all project files,
|
||||
detected languages, frameworks, import maps, and estimated complexity.
|
||||
model: inherit
|
||||
---
|
||||
|
||||
# Project Scanner
|
||||
|
||||
@@ -3,7 +3,6 @@ name: tour-builder
|
||||
description: |
|
||||
Designs guided learning tours through codebases, creating 5-15 pedagogical steps
|
||||
that teach project architecture and key concepts in logical order.
|
||||
model: inherit
|
||||
---
|
||||
|
||||
# Tour Builder
|
||||
|
||||
Reference in New Issue
Block a user