~ claude-traffic
${this.data.timestamp || new Date().toISOString()}
this.switchView("conversations")}
class="cursor-pointer mr-12 ${this.currentView === "conversations"
? "text-vs-nav-active"
: "text-vs-text hover:text-vs-accent"}"
>
conversations (${filteredConversations.length})
this.switchView("raw")}
class="cursor-pointer mr-12 ${this.currentView === "raw"
? "text-vs-nav-active"
: "text-vs-text hover:text-vs-accent"}"
>
raw calls (${this.allRawPairs.length})
this.switchView("json")}
class="cursor-pointer mr-12 ${this.currentView === "json"
? "text-vs-nav-active"
: "text-vs-text hover:text-vs-accent"}"
>
json debug (${this.filteredProcessedPairs.length})
${modelCounts.size > 1 && this.currentView !== "raw"
? html`
${Array.from(modelCounts.entries()).map(([model, _count]) => {
return html`
this.toggleModel(model)}
class="cursor-pointer hover:text-vs-accent mr-8"
>
${this.selectedModels.has(model) ? "[x]" : "[ ]"} ${model}
`;
})}
`
: ""}
${this.currentView === "conversations"
? html`
${filteredConversations.length === 0
? html`
No conversations found for selected models.
`
: html`
`}
`
: ""}
${this.currentView === "raw"
? html`
${this.allRawPairs.length === 0
? html`
No raw pairs found.
`
: html`
`}
`
: ""}
${this.currentView === "json"
? html`
${this.filteredProcessedPairs.length === 0
? html`
No processed pairs found for selected models.
`
: html`
`}
`
: ""}