import { C as findModelInCatalog } from "./model-selection-shared-BZqZE4Cv.js";
import { s as resolveDefaultModelForAgent } from "./model-selection-D1TyOrqK.js";
import { i as modelSupportsVision, n as loadModelCatalog } from "./model-catalog-W4s3tp_Q.js";
import "./agent-runtime-xKSjW2h-.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 };
