Files
openclaw/src/media-understanding/image-runtime.ts

10 lines
463 B
TypeScript

import { createLazyRuntimeMethodBinder, createLazyRuntimeModule } from "../shared/lazy-runtime.js";
const loadImageRuntime = createLazyRuntimeModule(() => import("./image.js"));
const bindImageRuntime = createLazyRuntimeMethodBinder(loadImageRuntime);
export const describeImageWithModel = bindImageRuntime((runtime) => runtime.describeImageWithModel);
export const describeImagesWithModel = bindImageRuntime(
(runtime) => runtime.describeImagesWithModel,
);