Compare commits

...

2 Commits

Author SHA1 Message Date
fuzhongyun b542b08c5a Merge branch 'v2' 2025-11-14 11:50:07 +08:00
fuzhongyun b1724ba6f6 fix: 处理未map未初始化问题 2025-11-14 11:49:53 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ type BotTool struct {
// NewBotTool 创建直连天下订单详情工具
func NewBotTool(config *config.Config, llm *utils_ollama.Client, sessionImpl *impl.SessionImpl) *BotTool {
return &BotTool{config: config, llm: llm, sessionImpl: sessionImpl}
return &BotTool{config: config, llm: llm, sessionImpl: sessionImpl, taskMap: make(map[string]string)}
}
// BugOptimizationSubmitForm 工单提交表单参数