Tags: wolverine2k/warp
Tags
Phase 5a — BYOP orchestration foundation (code complete, no user-visi… …ble change yet) Adds the data layer + filter helpers + LLMPreferences plumbing + submit-time validator needed for BYOP models to appear in agent orchestration. Behavior change is gated on Phase 5b (settings UI) + 5c (modal + Local env injection) + 5d (Remote credential bridge), all queued. See specs/multi-local-llm/spec-phase-5.md and plan-phase-5a.md.
ProviderAdapter trait + Test connection probe — Phase 2 complete. Scope: - Move AgentProviderApiType into the ai crate (wire-protocol layer) - Thread api_type into LocalProviderConfig (Default impl + models_list_url helper) - Introduce ProviderAdapter + StreamDecoder traits (crates/ai/src/local_provider/adapters/) - Implement OpenAiAdapter wrapping existing wire code; OpenAiSseAdapter gains forwarding `impl StreamDecoder` - Stub adapters for OpenAiResp / Gemini / Anthropic / Ollama / DeepSeek return UnsupportedApiType via select_adapter (exhaustive match — no _ arm so Phase 3 variant additions trigger a compile error at the dispatcher) - Refactor run_chat_turn + run_summarizer_turn to delegate to the selected adapter; synthesize_stream takes Box<dyn StreamDecoder> - LocalRunError gains Adapter variant; SummarizerError gains Adapter(String) - Add per-provider "Test connection" probe button to AgentProvidersWidget with ProbeUiState (Idle | Probing | Ok | Failed) visualization; state is invalidated by base_url / api_key / api_type edits to avoid lying about stale results. No user-visible behavior change for OpenAi-compatible endpoints — the trait is purely an internal indirection. 341/341 ai-crate tests pass (was 324; +14 trait/probe tests + 3 models_list_url tests). Note: this tag was originally reserved in the spec README for Phase 1b-4 (legacy cleanup); that milestone will need a different tag (v0.2.1 or v0.3.0 TBD).
PreviousNext