-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Preserve exact custom provider identity across session restore #4334
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingreliabilityReliability, flaky behavior, retries, fallbacks, and robustnessReliability, flaky behavior, retries, fallbacks, and robustnesssubagentsSub-agent orchestration, lifecycle, and completion handlingSub-agent orchestration, lifecycle, and completion handlingtuiTerminal UI behavior, rendering, or interactionTerminal UI behavior, rendering, or interactionv0.8.69Targeting v0.8.69Targeting v0.8.69
Milestone
Description
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingreliabilityReliability, flaky behavior, retries, fallbacks, and robustnessReliability, flaky behavior, retries, fallbacks, and robustnesssubagentsSub-agent orchestration, lifecycle, and completion handlingSub-agent orchestration, lifecycle, and completion handlingtuiTerminal UI behavior, rendering, or interactionTerminal UI behavior, rendering, or interactionv0.8.69Targeting v0.8.69Targeting v0.8.69
Projects
StatusShow more project fields
Backlog
Problem
Saved/restored TUI sessions persist a built-in
ApiProviderclassification, but a user-named custom provider such aslm-studioormy-openai-proxycan collapse to the genericcustomenum identity. After resume, CodeWhale may no longer have the exact provider key needed to re-resolve the original endpoint, credentials, route limits, and model metadata.The original custom-provider contract landed through #1519, and #3205 covers explicit route receipts in Fleet/loadout scope. Neither tracks exact custom provider identity across ordinary session persistence and restore.
Expected behavior
Current evidence
Draft PR #4332 makes built-in provider/model route facts fresh and provider-aware, but intentionally does not redesign saved-session provider identity. This remains a follow-up seam and must not be represented as solved by #4332.
Acceptance