Package 

Object StreamingReasoningDefaults

    • Method Summary

      Modifier and Type Method Description
      final <T extends Any> SpringSpec<T> foldAnimationSpec() How the reasoning folds and opens.
      final StreamingReasoningColors colors(Color title, Color text, Color footnote, Color shimmer, Color rule) The default palette, from the current MaterialTheme.
      final Integer getFoldDurationMillis() How long the reasoning takes to fold once the model stops thinking.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.