Bugfixes
release-tag / release-image (push) Successful in 2m17s

This commit is contained in:
2026-08-05 10:15:56 +02:00
parent 18255e4b98
commit 31d3efb8a2
25 changed files with 1034 additions and 184 deletions
+3 -2
View File
@@ -86,8 +86,9 @@ func (e *Engine) researchEvidenceForSources(sources []articleSource) []model.Res
return nil
}
nodes := make([]model.Node, 0, len(externalIDs))
filter := e.effectiveThinkingFilter()
for _, node := range snapshot.Nodes {
if externalIDs[node.ID] && node.Kind == "external" {
if externalIDs[node.ID] && node.Kind == "external" && filter.Matches(node) {
nodes = append(nodes, node)
}
}
@@ -199,7 +200,7 @@ func (e *Engine) learnResearchEvidence(ctx context.Context, results []model.Rese
for _, result := range results {
id := graph.ID("external", result.URL)
node, ok := e.Graph.GetNode(id)
if !ok || !matchesCategories(node, e.learningCategories()) {
if !ok || !e.effectiveLearningFilter().Matches(node) {
continue
}
content := strings.TrimSpace(result.Content)