-
Notifications
You must be signed in to change notification settings - Fork 2
config: update ZEPH_LLM_* env overrides for providers array #2138
Copy link
Copy link
Closed
Labels
configConfiguration file changesConfiguration file changesenhancementNew feature or requestNew feature or requestllmzeph-llm crate (Ollama, Claude)zeph-llm crate (Ollama, Claude)
Description
Part of #2134 — Phase 4.
Spec: .local/specs/022-config-simplification/spec.md § Phase 5 (Env Override Update)
Goal
Update ZEPH_LLM_* environment variable overrides to work with the new [[llm.providers]] schema.
Tasks
Update crates/zeph-config/src/env.rs:
ZEPH_LLM_PROVIDER→ setsproviders[0].type(error if >1 provider and ambiguous)ZEPH_LLM_MODEL→ setsproviders[0].modelZEPH_LLM_BASE_URL→ setsproviders[0].base_url- Remove env vars that mapped to now-deleted top-level fields
Document updated env vars in docs/.
Acceptance
- All env-override tests pass
ZEPH_LLM_MODELoverrides the default provider model in a multi-provider config- Env override tests cover both single-provider and multi-provider cases
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
configConfiguration file changesConfiguration file changesenhancementNew feature or requestNew feature or requestllmzeph-llm crate (Ollama, Claude)zeph-llm crate (Ollama, Claude)