Skip to content

Think 思考过程

展示大模型深度思考过程。

何时使用

  • 用于在对话时展示大模型的深度思考过程。

代码演示

基本

基础用法。

deep thinking
This is deep thinking content.

设置状态

通过 loading / blink 展示思考中状态。


This is deep thinking content.

Complete thinking
Customize status icon.

是否展开

受控展开。


deep thinking
This is deep thinking content.

API

ThinkProps

属性说明类型默认值版本
classNames样式类名Record<'root' | 'status' | 'content', string>--
styles样式 styleRecord<'root' | 'status' | 'content', CSSProperties>--
title状态文本VNode | string | (() => VNode | string)--
icon状态图标VNode | (() => VNode)--
loading加载中boolean | VNode | (() => VNode)false-
defaultExpanded默认是否展开booleantrue-
expanded是否展开boolean--
onExpand展开事件(expand: boolean) => void--
blink闪动模式boolean--
destroyOnHidden隐藏时是否销毁内容节点booleantrue-

Think Slots

插槽名说明
default思考内容
title状态文本
icon状态图标
loading加载中图标

贡献者

贡献者

正在加载贡献者信息...