mirror of
https://git.boos.lat/aibo/BossChat.git
synced 2026-10-31 07:36:11 +00:00
feat: implement Spec method for tools and update tool resolution logic in the registry
This commit is contained in:
@@ -24,6 +24,10 @@ func NewHandoffGraphTool() *HandoffGraphTool {
|
||||
return &HandoffGraphTool{}
|
||||
}
|
||||
|
||||
func (t *HandoffGraphTool) Spec() toolx.ToolSpec {
|
||||
return toolx.GraphHandoffConversation
|
||||
}
|
||||
|
||||
func (t *HandoffGraphTool) Name() string {
|
||||
return toolx.GraphHandoffConversation.Name
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user