fix(graph): disable context ring on lead — data unreliable (jumps)
This commit is contained in:
parent
0e966e712e
commit
3be815ecbb
1 changed files with 6 additions and 4 deletions
|
|
@ -90,10 +90,12 @@ export function drawAgents(
|
||||||
const labelText = node.role ? `${node.label} · ${node.role}` : node.label;
|
const labelText = node.role ? `${node.label} · ${node.role}` : node.label;
|
||||||
drawLabel(ctx, x, y, r, labelText, color);
|
drawLabel(ctx, x, y, r, labelText, color);
|
||||||
|
|
||||||
// Context ring for lead
|
// TODO: Context ring disabled — LeadContextUsage.percent is unreliable
|
||||||
if (node.kind === 'lead' && node.contextUsage != null) {
|
// (jumps due to cache_read variance, contextWindow mismatch with actual model).
|
||||||
drawContextRing(ctx, x, y, r, node.contextUsage, time);
|
// Re-enable when we have stable context window data from modelUsage.
|
||||||
}
|
// if (node.kind === 'lead' && node.contextUsage != null) {
|
||||||
|
// drawContextRing(ctx, x, y, r, node.contextUsage, time);
|
||||||
|
// }
|
||||||
|
|
||||||
// Selection ring
|
// Selection ring
|
||||||
if (isSelected) {
|
if (isSelected) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue