debug(ai-sdk): temp RAGDEBUG logging in searchControls + wiring

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-06-25 00:37:27 +02:00
parent d9d04deb00
commit eaa5f6e4ee
2 changed files with 7 additions and 1 deletions
@@ -229,6 +229,7 @@ func (c *LegalRAGClient) searchControls(ctx context.Context, collection string,
kept = append(kept, h)
}
}
fmt.Printf("[RAGDEBUG] searchControls dense=%d kept=%d depth=%d\n", len(hits), len(kept), controlPoolDepth)
return kept, nil
}