Help us shape the future of Go! Take the 2026 Go Developer Survey

render

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package render 提供用于处理和美化模型输出内容的渲染辅助工具。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitThink

func SplitThink(content string) (think, response string, found bool)

SplitThink 将原始文本内容拆分为“思考过程”和“最终回复”两部分。 返回值: - think: 提取出的思考过程内容(不含标签) - response: 移除思考标签后的回复内容 - found: 是否在文本中找到了思考标签

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL