Chatbot
Context
Hover card displaying token usage metrics, context window percentage, and cost information.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| usedTokens | number | - | Number of tokens consumed |
| maxTokens | number | - | Maximum context window tokens |
| usage | LanguageModelUsage | - | Detailed token usage breakdown |
| modelId | string | - | Model identifier for cost calculation |
Import
import { Context, ContextTrigger, ContextContent } from '@blastx/ui-ai';