feat: initialize terminal chat example with streaming and memory

This commit is contained in:
loveuer committed 2026-11-13 18:55:08 +08:00
commit 43fc905c82
13 files changed
+666

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
package opt
const SYSTEM_PROMPT = `你是一个可靠、务实的对话助手。默认使用中文,回答准确、清晰、简洁。不确定时如实说明,必要时向用户澄清。涉及代码时,优先给出简单、直接、可运行的实现。`
const (
MIN_TOKEN = 1024
RESPONSE_CHAN_SIZE = 32
)