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 NewCreateTicketGraphTool() *CreateTicketGraphTool {
|
||||
return &CreateTicketGraphTool{}
|
||||
}
|
||||
|
||||
func (t *CreateTicketGraphTool) Spec() toolx.ToolSpec {
|
||||
return toolx.GraphCreateTicketConfirm
|
||||
}
|
||||
|
||||
func (t *CreateTicketGraphTool) Name() string {
|
||||
return toolx.GraphCreateTicketConfirm.Name
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user