Merge branch 'add-querit-support' of https://github.com/querit-ai/clawdbot into add-querit-support
This commit is contained in:
commit
fc64761998
@ -7,7 +7,7 @@ read_when:
|
|||||||
|
|
||||||
# Querit
|
# Querit
|
||||||
|
|
||||||
Clawdbot supports Querit as an alternative provider for `web_search`.
|
Moltbot supports Querit as an alternative provider for `web_search`.
|
||||||
|
|
||||||
## Get an API key
|
## Get an API key
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,6 @@ import type { MoltbotConfig } from "../../config/config.js";
|
|||||||
import { formatCliCommand } from "../../cli/command-format.js";
|
import { formatCliCommand } from "../../cli/command-format.js";
|
||||||
import type { AnyAgentTool } from "./common.js";
|
import type { AnyAgentTool } from "./common.js";
|
||||||
import { jsonResult, readNumberParam, readStringParam } from "./common.js";
|
import { jsonResult, readNumberParam, readStringParam } from "./common.js";
|
||||||
import { logDebug } from "../../logger.js";
|
|
||||||
import {
|
import {
|
||||||
CacheEntry,
|
CacheEntry,
|
||||||
DEFAULT_CACHE_TTL_MINUTES,
|
DEFAULT_CACHE_TTL_MINUTES,
|
||||||
@ -151,8 +150,8 @@ function missingSearchKeyPayload(provider: (typeof SEARCH_PROVIDERS)[number]) {
|
|||||||
if (provider === "querit") {
|
if (provider === "querit") {
|
||||||
return {
|
return {
|
||||||
error: "missing_querit_api_key",
|
error: "missing_querit_api_key",
|
||||||
message: `web_search (querit) needs an API key. Run \`${formatCliCommand("clawdbot configure --section web")}\` to store it, or set QUERIT_API_KEY in the Gateway environment.`,
|
message: `web_search (querit) needs an API key. Run \`${formatCliCommand("moltbot configure --section web")}\` to store it, or set QUERIT_API_KEY in the Gateway environment.`,
|
||||||
docs: "https://docs.clawd.bot/tools/web",
|
docs: "https://docs.molt.bot/tools/web",
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user