UNPKG

langchain

Version:
10 lines (9 loc) • 454 B
// src/agents/model.ts function isBaseChatModel(model) { return "invoke" in model && typeof model.invoke === "function" && "_streamResponseChunks" in model; } function isConfigurableModel(model) { return typeof model === "object" && model != null && "_queuedMethodOperations" in model && "_getModelInstance" in model && typeof model._getModelInstance === "function"; } export { isBaseChatModel, isConfigurableModel }; //# sourceMappingURL=model.js.map