WebFetchTool 网页获取工具
| 16 | |
| 17 | // WebFetchTool 网页获取工具 |
| 18 | type WebFetchTool struct { |
| 19 | defaultTimeout time.Duration |
| 20 | client *http.Client |
| 21 | } |
| 22 | |
| 23 | // NewWebFetchTool 创建 WebFetch 工具 |
| 24 | func NewWebFetchTool(config map[string]any) (tools.Tool, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected