Skip to content

config: add ProviderEntry and RoutingStrategy types #2135

@bug-ops

Description

@bug-ops

Part of #2134 — Phase 1.

Spec: .local/specs/022-config-simplification/spec.md § Phase 1

Goal

Add new config types to zeph-config without touching existing code. No behavior change.

Tasks

  • Add ProviderEntry struct to crates/zeph-config/src/providers.rs
  • Add RoutingStrategy enum (None, Ema, Thompson, Cascade, Task)
  • Add new LlmConfig definition with providers: Vec<ProviderEntry> alongside old one
  • Re-export new types from crates/zeph-config/src/lib.rs
  • Unit tests: ProviderEntry and RoutingStrategy have correct Default impls

Acceptance

  • New types compile with --features full
  • All 6397 tests green
  • Old config code untouched

Metadata

Metadata

Assignees

No one assigned

    Labels

    configConfiguration file changesenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions