Skip to content

Commit 470cc01

Browse files
authored
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
2 parents a8a115d + 0566ea8 commit 470cc01

10 files changed

Lines changed: 1 addition & 10 deletions

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ An open-source tool combining LLM intelligence + static analysis to produce inte
2626

2727
## Agent Pipeline
2828
- Agents write intermediate results to `.understand-anything/intermediate/` on disk (not returned to context)
29-
- Agent models: all set to `inherit` for cross-platform compatibility (Claude Code, Cursor, opencode, etc.)
29+
- 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)
3030
- `/understand` auto-triggers `/understand-dashboard` after completion
3131
- Intermediate files cleaned up after graph assembly
3232

understand-anything-plugin/agents/architecture-analyzer.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: architecture-analyzer
33
description: |
44
Analyzes a codebase's file structure, summaries, and import relationships to identify
55
logical architectural layers and assign every file to exactly one layer.
6-
model: inherit
76
---
87

98
# Architecture Analyzer

understand-anything-plugin/agents/article-analyzer.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name: article-analyzer
33
description: |
44
Analyzes markdown files using pre-parsed structural data and LLM inference to extract knowledge graph nodes and edges (entities, claims, implicit relationships, topic clustering).
5-
model: inherit
65
---
76

87
# Article Analyzer Agent

understand-anything-plugin/agents/assemble-reviewer.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: assemble-reviewer
33
description: |
44
Reviews the output of merge-batch-graphs.py for semantic issues the script
55
cannot catch. Recovers dropped nodes/edges and fills cross-batch gaps.
6-
model: inherit
76
---
87

98
# Assemble Reviewer

understand-anything-plugin/agents/domain-analyzer.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name: domain-analyzer
33
description: |
44
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.
5-
model: inherit
65
---
76

87
# Domain Analyzer Agent

understand-anything-plugin/agents/file-analyzer.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ description: |
44
Analyzes batches of source files to produce knowledge graph nodes and edges.
55
Extracts file structure, functions, classes, and relationships using a two-phase
66
approach: structural extraction script followed by LLM semantic analysis.
7-
model: inherit
87
---
98

109
# File Analyzer

understand-anything-plugin/agents/graph-reviewer.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: graph-reviewer
33
description: |
44
Validates knowledge graphs for correctness, completeness, and quality.
55
Runs systematic checks and renders approval or rejection decisions.
6-
model: inherit
76
---
87

98
# Graph Reviewer

understand-anything-plugin/agents/knowledge-graph-guide.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ description: |
55
with an Understand-Anything knowledge graph. Guides users through graph
66
structure, node/edge relationships, layer architecture, tours, and
77
dashboard usage.
8-
model: inherit
98
---
109

1110
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.

understand-anything-plugin/agents/project-scanner.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: project-scanner
33
description: |
44
Scans a codebase directory to produce a structured inventory of all project files,
55
detected languages, frameworks, import maps, and estimated complexity.
6-
model: inherit
76
---
87

98
# Project Scanner

understand-anything-plugin/agents/tour-builder.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: tour-builder
33
description: |
44
Designs guided learning tours through codebases, creating 5-15 pedagogical steps
55
that teach project architecture and key concepts in logical order.
6-
model: inherit
76
---
87

98
# Tour Builder

0 commit comments

Comments
 (0)