Files
example-eino/pkg/opt/const.go
T
zhaoyupeng.elqbandTRAE CLI 1512f0516f feat: add weather tracing and unify example system prompts
Move shared prompt constants into pkg/opt and use them across examples.
Add agent, model, and tool tracing to the weather example, with tests,
and update weather argument descriptions and parse-error logging.

Strip timestamp and speaker markers from final ADK voice transcripts,
keeping normal bracketed text and treating marker-only results as empty.

Co-authored-by: TRAE CLI <traecli@bytedance.com>
2026-11-19 10:44:56 +08:00

9 lines
314 B
Go

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