feat(gateway): add Anthropic, OpenAI, Z.ai LLM providers (P8-002) #212
Reference in New Issue
Block a user
Delete Branch "feat/p8-002-llm-providers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
P8-002 — Additional LLM Providers
Adds native Anthropic, OpenAI, and Z.ai provider registration to the gateway ProviderService.
Changes
apps/gateway/src/agent/provider.service.ts: AddedregisterAnthropicProvider(),registerOpenAIProvider(),registerZaiProvider()methods, andcloneBuiltInModel()helper using Pi nativegetModel()API.env.example: Added commented entries forANTHROPIC_API_KEY,OPENAI_API_KEY,ZAI_API_KEYapps/gateway/src/agent/__tests__/provider.service.test.ts: New test file with 7 tests covering provider registration and skip-when-missing behaviorModels registered
Quality gates