openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
14 lines (13 loc) • 544 B
JavaScript
import "./bootstrap-CB2bEBTF.mjs";
//#region src/agents/embedded-agent-helpers/google.ts
/** Detects Google-owned embedded runtime APIs. */
function isGoogleModelApi(api) {
return api === "google-gemini-cli" || api === "google-generative-ai" || api === "google-interactions";
}
//#endregion
//#region src/agents/embedded-agent-helpers/anthropic-api.ts
function isAnthropicApi(modelApi) {
return modelApi === "anthropic-messages" || modelApi === "bedrock-converse-stream";
}
//#endregion
export { isGoogleModelApi as n, isAnthropicApi as t };