import { x as findModelInCatalog } from "./model-selection-shared-CsXxdeIP.js";
import { c as resolveDefaultModelForAgent } from "./model-selection-oR_XJp0q.js";
import { i as modelSupportsVision, n as loadModelCatalog } from "./model-catalog-aaKvjlQz.js";
import "./agent-runtime-BHHJPP-E.js";
//#region extensions/telegram/src/sticker-vision.runtime.ts
async function resolveStickerVisionSupportRuntime(params) {
	const catalog = await loadModelCatalog({ config: params.cfg });
	const defaultModel = resolveDefaultModelForAgent({
		cfg: params.cfg,
		agentId: params.agentId
	});
	const entry = findModelInCatalog(catalog, defaultModel.provider, defaultModel.model);
	if (!entry) return false;
	return modelSupportsVision(entry);
}
//#endregion
export { resolveStickerVisionSupportRuntime };
