mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-26 01:52:16 +08:00
feat(go-agent): Ported retrieval node, added Keenable web search tool (#16396)
Ported retrieval node, added Keenable web search tool - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@@ -58,7 +58,7 @@ type SkillInstallCommand struct {
|
||||
// sourceHTTPClientAdapter adapts filesystem.HTTPClientInterface to source.HTTPClientInterface
|
||||
// This allows us to use the existing HTTP client infrastructure with the source package
|
||||
type sourceHTTPClientAdapter struct {
|
||||
client HTTPClientInterface
|
||||
client HTTPClientInterface
|
||||
httpClient *http.Client
|
||||
}
|
||||
|
||||
@@ -121,9 +121,9 @@ func NewInstallSkillCommand(client HTTPClientInterface, fileProvider *FileProvid
|
||||
adaptedClient := &sourceHTTPClientAdapter{
|
||||
client: client,
|
||||
httpClient: &http.Client{
|
||||
Timeout: 60 * time.Second,
|
||||
Transport: transport,
|
||||
Jar: jar,
|
||||
Timeout: 60 * time.Second,
|
||||
Transport: transport,
|
||||
Jar: jar,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user