2.10.0
中文
Skip to content

Think ​

Display the deep thinking process of the large model.

When to use ​

  • Used to display the deep thinking process of the large model during conversations.

Examples ​

Basic usage ​

deep thinking
This is deep thinking content.
Basic usage

Basic usage.

Set status ​


This is deep thinking content.

Complete thinking
Customize status icon.
Set status

Customize status text and icons.

Expanded state ​


deep thinking
This is deep thinking content.
Expanded state

Control expand/collapse.

Destroy on collapse ​

Deep Thinking
This content will be removed from DOM when collapsed and destroyOnHidden is true.
Destroy on collapse

Whether to destroy content when collapsed.

API ​

ThinkProps ​

PropDescriptionTypeDefaultVersion
classNamesCSS class namesRecord\<SemanticDOM, string\>--
stylesStyleRecord\<SemanticDOM, CSSProperties\>--
titleStatus Text`VNodestring`-
iconStatus IconVNode--
loadingLoading`booleanVNode`false
defaultExpandedDefault Expandbooleantrue-
expandedWhether Expandedboolean--
onExpandExpand Event(expand: boolean) => void--
blinkBlink Modeboolean--
destroyOnHiddenWhether to Destroy Content Node When Hiddenbooleantrue-

Slots ​

NameDescription
defaultThinking Content
titleCustom Status Text
iconCustom Status Icon

Semantic DOM ​

deep thinking
This is deep thinking content.
  • root
    根节点
  • status
    状态区
  • content
    内容区

Design Token ​

TokenDescriptionTypeDefault
colorTextBlinkDefaultDefault Typing Animation ColorstringcolorTextDescription
colorTextBlinkTyping animation colorstringcolorTextBase