fix(web-search): polish Keenable provider integration after #1946
Expose optional API key in settings UI, map longer API snippets into Content for RAG, align maxResults fallback with other providers, sync Swagger enum, and add follow-up unit tests.
This commit is contained in:
+4
-2
@@ -18058,7 +18058,8 @@ const docTemplate = `{
|
||||
"tavily",
|
||||
"ollama",
|
||||
"baidu",
|
||||
"searxng"
|
||||
"searxng",
|
||||
"keenable"
|
||||
],
|
||||
"x-enum-varnames": [
|
||||
"WebSearchProviderTypeBing",
|
||||
@@ -18067,7 +18068,8 @@ const docTemplate = `{
|
||||
"WebSearchProviderTypeTavily",
|
||||
"WebSearchProviderTypeOllama",
|
||||
"WebSearchProviderTypeBaidu",
|
||||
"WebSearchProviderTypeSearxng"
|
||||
"WebSearchProviderTypeSearxng",
|
||||
"WebSearchProviderTypeKeenable"
|
||||
]
|
||||
},
|
||||
"github_com_Tencent_WeKnora_internal_types.WikiConfig": {
|
||||
|
||||
+4
-2
@@ -18051,7 +18051,8 @@
|
||||
"tavily",
|
||||
"ollama",
|
||||
"baidu",
|
||||
"searxng"
|
||||
"searxng",
|
||||
"keenable"
|
||||
],
|
||||
"x-enum-varnames": [
|
||||
"WebSearchProviderTypeBing",
|
||||
@@ -18060,7 +18061,8 @@
|
||||
"WebSearchProviderTypeTavily",
|
||||
"WebSearchProviderTypeOllama",
|
||||
"WebSearchProviderTypeBaidu",
|
||||
"WebSearchProviderTypeSearxng"
|
||||
"WebSearchProviderTypeSearxng",
|
||||
"WebSearchProviderTypeKeenable"
|
||||
]
|
||||
},
|
||||
"github_com_Tencent_WeKnora_internal_types.WikiConfig": {
|
||||
|
||||
@@ -3459,6 +3459,7 @@ definitions:
|
||||
- ollama
|
||||
- baidu
|
||||
- searxng
|
||||
- keenable
|
||||
type: string
|
||||
x-enum-varnames:
|
||||
- WebSearchProviderTypeBing
|
||||
@@ -3468,6 +3469,7 @@ definitions:
|
||||
- WebSearchProviderTypeOllama
|
||||
- WebSearchProviderTypeBaidu
|
||||
- WebSearchProviderTypeSearxng
|
||||
- WebSearchProviderTypeKeenable
|
||||
github_com_Tencent_WeKnora_internal_types.WikiConfig:
|
||||
properties:
|
||||
extraction_granularity:
|
||||
|
||||
Reference in New Issue
Block a user