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

@@ -60,7 +60,7 @@ func NewBingSearch(config *gjson.Result) (*BingSearch, error) {
}
func (b BingSearch) NeedExectue(ctx engine.SearchContext) bool {
return ctx.EngineType == "internet"
return ctx.EngineType == "" || ctx.EngineType == "internet"
}
func (b BingSearch) Client() wrapper.HttpClient {