zeroclaw/src/providers
Vernon Stinebaker 40c41cf3d2
feat(discord): add listen_to_bots config and fix model IDs across codebase (#280)
* fix(config): apply env overrides at runtime and fix Docker compose defaults

- Call apply_env_overrides() after Config::load_or_init() in main.rs so
  environment variables (API_KEY, PROVIDER, ZEROCLAW_GATEWAY_PORT, etc.)
  are actually applied at runtime, not just in tests
- Add ZEROCLAW_ALLOW_PUBLIC_BIND env var support for gateway bind policy
- Fix docker-compose.yml: correct volume path (/zeroclaw-data not /data),
  add ZEROCLAW_ALLOW_PUBLIC_BIND=true for container networking, make host
  port configurable via HOST_PORT env var
- Add docker-compose.override.yml to .gitignore for local dev overrides

* feat(discord): add listen_to_bots config and fix model IDs across codebase

Add listen_to_bots field to DiscordConfig so bot messages are processed
when explicitly enabled (defaults to false for backward compat). Remove
ZEROCLAW_MODEL from Dockerfile release stage so config.toml is the
source of truth for model selection. Fix all hardcoded model IDs from
the dated anthropic/claude-sonnet-4-20250514 to the valid OpenRouter
identifier anthropic/claude-sonnet-4.
2026-02-16 02:13:36 -05:00
..
anthropic.rs fix(providers): use Bearer auth for Gemini CLI OAuth tokens 2026-02-15 14:32:33 -05:00
compatible.rs fix(provider): require exact chat endpoint suffix match (#277) 2026-02-16 01:57:48 -05:00
gemini.rs fix(providers): use Bearer auth for Gemini CLI OAuth tokens 2026-02-15 14:32:33 -05:00
mod.rs fix(provider): validate custom provider URL format and scheme (#281) 2026-02-16 01:57:43 -05:00
ollama.rs fix: add WhatsApp webhook signature verification (X-Hub-Signature-256) 2026-02-15 06:17:24 -05:00
openai.rs fix: add WhatsApp webhook signature verification (X-Hub-Signature-256) 2026-02-15 06:17:24 -05:00
openrouter.rs feat: add multi-turn conversation history and tool execution 2026-02-15 14:43:02 -05:00
reliable.rs fix(memory): prevent autosave key collisions across runtime flows 2026-02-15 22:55:52 -05:00
router.rs feat(discord): add listen_to_bots config and fix model IDs across codebase (#280) 2026-02-16 02:13:36 -05:00
traits.rs feat: add multi-turn conversation history and tool execution 2026-02-15 14:43:02 -05:00