@agentkit-js/model-zhipu
v0.2.0
Published
Zhipu (GLM) model adapter for agentkit-js
Readme
@agentkit-js/model-zhipu
Zhipu GLM-5 adapter — thinking: { type } via extra_body, auto-prefix cache.
Part of agentkit-js — a TypeScript + WASM agent runtime.
Install
npm install @agentkit-js/model-zhipu @agentkit-js/coreUsage
import { ZhipuModel, GLMModels } from "@agentkit-js/model-zhipu";
const model = new ZhipuModel(GLMModels.GLM_5, {
apiKey: process.env.ZHIPU_API_KEY,
});⚠️ Compliance — Review the Zhipu BigModel terms before using in production.
License
Apache-2.0 — © agentkit-js contributors
