feat: add Zaps.ai as native LLM provider#143
Open
argosautomation wants to merge 1 commit intomoltis-org:mainfrom
Open
feat: add Zaps.ai as native LLM provider#143argosautomation wants to merge 1 commit intomoltis-org:mainfrom
argosautomation wants to merge 1 commit intomoltis-org:mainfrom
Conversation
Add Zaps.ai privacy gateway as a first-class OpenAI-compatible provider. Zaps.ai automatically redacts PII before forwarding requests to upstream LLMs, making it ideal for privacy-conscious deployments. Changes across 6 files: - agents/providers/mod.rs: OPENAI_COMPAT_PROVIDERS entry - gateway/provider_setup.rs: known_providers() UI entry - gateway/server.rs: EMBEDDING_CANDIDATES for RAG auto-detect - cli/doctor_commands.rs: PROVIDER_ENV_MAP for health checks - config/template.rs: documented config template section - config/validate.rs: KNOWN_PROVIDER_NAMES validation Configuration: config_name = "zaps" env_key = ZAPS_API_KEY default_base_url = https://zaps.ai/v1 models = [] (dynamic discovery via gateway proxy)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: add Zaps.ai as native LLM provider
This PR adds Zaps.ai as a first-class OpenAI-compatible provider in Moltis.
What is Zaps.ai?
Zaps.ai acts as a privacy-focused API gateway that automatically redacts Personally Identifiable Information (PII) before forwarding requests to upstream LLMs (like GPT-4o, DeepSeek, etc.). This makes it ideal for enterprise and privacy-conscious deployments where data leakage is a concern.
Implementation Details
OpenAiCompatDefentry tocrates/agents/src/providers/mod.rswithconfig_name: "zaps".known_providers()incrates/gateway/src/provider_setup.rsso it appears in the provider selection dropdown.EMBEDDING_CANDIDATESincrates/gateway/src/server.rsto enable automatic memory embedding fallback through the Zaps gateway.doctor_commands.rsPROVIDER_ENV_MAPformoltis doctorverification.env_key:ZAPS_API_KEYdefault_base_url:https://zaps.ai/v1models: Empty list (uses dynamic model discovery based on upstream provider availability)requires_model:true(like OpenRouter)Verification
Ran full workspace
cargo check --workspaceon Linux/x86_64 build environment.BUILD_SUCCESSUsage
Users can enable it by adding the following to
moltis.tomlor settingZAPS_API_KEY: