ai-search support quark (#1811)

This commit is contained in:
rinfx
2025-02-26 18:42:22 +08:00
committed by GitHub
parent 1787553294
commit 3eda7def89
6 changed files with 250 additions and 7 deletions

View File

@@ -68,7 +68,7 @@ func NewGoogleSearch(config *gjson.Result) (*GoogleSearch, error) {
}
func (g GoogleSearch) NeedExectue(ctx engine.SearchContext) bool {
return ctx.EngineType == "internet"
return ctx.EngineType == "" || ctx.EngineType == "internet"
}
func (g GoogleSearch) Client() wrapper.HttpClient {