feat: refactor tool definitions to use structured ToolSpec and update related references

This commit is contained in:
mlogclub
2026-04-12 22:27:09 +08:00
parent 54f5a684c3
commit 11252d31da
16 changed files with 280 additions and 204 deletions
@@ -15,9 +15,9 @@ import (
orderedmap "github.com/wk8/go-ordered-map/v2"
)
const (
HandoffConversationToolCode = toolx.GraphHandoffConversationToolCode
HandoffConversationToolName = toolx.GraphHandoffConversationToolName
var (
HandoffConversationToolCode = toolx.GraphHandoffConversation.Code
HandoffConversationToolName = toolx.GraphHandoffConversation.Name
)
type HandoffGraphTool struct {