StreamingReasoningDefaults

Properties

Link copied to clipboard
const val FoldDurationMillis: Int = 450

How long the reasoning takes to fold once the model stops thinking. A reply that shows its answer only after this lets the reasoning fold first, then types the answer below it, rather than the two moving against each other.

Functions

Link copied to clipboard
fun colors(title: Color = MaterialTheme.colorScheme.onSurfaceVariant, text: Color = MaterialTheme.colorScheme.onSurfaceVariant, footnote: Color = MaterialTheme.colorScheme.outline, shimmer: Color = MaterialTheme.colorScheme.onSurface, rule: Color = MaterialTheme.colorScheme.outlineVariant): StreamingReasoningColors

The default palette, from the current MaterialTheme.

Link copied to clipboard

How the reasoning folds and opens. Use it for your own changes that should move with it.