()
| 64 | } |
| 65 | |
| 66 | func (t *dynamicTool) Info() fantasy.ToolInfo { |
| 67 | return fantasy.ToolInfo{ |
| 68 | Name: t.name, |
| 69 | Description: t.description, |
| 70 | Parameters: t.parameters, |
| 71 | Required: t.required, |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | func (*dynamicTool) Run(_ context.Context, _ fantasy.ToolCall) (fantasy.ToolResponse, error) { |
| 76 | // Dynamic tools are never executed by the chatloop. If this |
no outgoing calls