-
public class StreamingReasoningDefaultsDefaults of StreamingReasoning.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerFoldDurationMillispublic final static StreamingReasoningDefaultsINSTANCE
-
Method Summary
Modifier and Type Method Description final <T extends Any> SpringSpec<T>foldAnimationSpec()How the reasoning folds and opens. final StreamingReasoningColorscolors(Color title, Color text, Color footnote, Color shimmer, Color rule)The default palette, from the current MaterialTheme. final IntegergetFoldDurationMillis()How long the reasoning takes to fold once the model stops thinking. -
-
Method Detail
-
foldAnimationSpec
final <T extends Any> SpringSpec<T> foldAnimationSpec()
How the reasoning folds and opens. Use it for your own changes that should move with it.
-
colors
@Composable() final StreamingReasoningColors colors(Color title, Color text, Color footnote, Color shimmer, Color rule)
The default palette, from the current MaterialTheme.
- Parameters:
title- Color of the header and its icons.text- Color of the reasoning itself.footnote- Color of the note under the open reasoning.shimmer- Color of the highlight that sweeps across the header while the model thinks.rule- Color of the rule along the reasoning's leading edge.
-
getFoldDurationMillis
final Integer getFoldDurationMillis()
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.
-
-
-
-