jason.woltjeandClaude Sonnet 4.6 2a0ff25794
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline failed
feat(M3-005): implement ZaiAdapter for Z.ai GLM-5 provider
Z.ai exposes an OpenAI-compatible API at https://open.bigmodel.cn/api/paas/v4.
The adapter uses the openai SDK with a custom baseURL and ZAI_API_KEY env var.

- Add ZaiAdapter implementing IProviderAdapter with register(), listModels(),
  healthCheck(), and createCompletion() (streaming via OpenAI-compat API)
- Register GLM-5 (128K context, standard tier, tools support) from model-capabilities
- Support ZAI_BASE_URL override for custom deployments
- Graceful degradation when ZAI_API_KEY is absent
- Remove legacy registerZaiProvider() direct-registry method from ProviderService
- Export ZaiAdapter from adapters/index.ts

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-22 19:02:35 -05:00
S
Description
Self-hosted multi-user AI agent platform — web dashboard, TUI, remote control, shared memory, mission orchestration
MIT
33 MiB
2026-06-11 20:14:20 +00:00
Languages
TypeScript 63.2%
Shell 25.7%
Python 8.7%
JavaScript 1.2%
PowerShell 0.8%
Other 0.2%