feat: add weather tools to legacy and Eino chat

This commit is contained in:
loveuer committed 2026-11-16 19:08:18 +08:00
1 parent 6e6171f481
commit 86e86bc9fa
18 files changed
+926 -77

No files matched your search

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