import { S as findModelInCatalog } from "./model-selection-shared-ydis-o41.js";
import { o as resolveDefaultModelForAgent } from "./model-selection-DBROqDcr.js";
import { a as modelSupportsVision, r as loadModelCatalog } from "./model-catalog-D0v4Nk3P.js";
import "./agent-runtime-aV2nGrMR.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 };
