feat(models): discover OpenAI-compatible provider models - #57
Conversation
|
Thanks @yan-ad — this is a useful addition! I pushed a maintainer follow-up in e53e9c6 and merged current main into the branch in 16d6891 before merging this PR. The follow-up addresses two gaps from review:
Regression coverage includes fresh request-time Discovery instances, picker/runtime consistency, manual overrides, cache invalidation, unsupported endpoint fallback, and versioned URLs. The merge resolution also preserves main's newer context-window fields and shares discovered metadata with output-limit/modality lookups. Validation:
The original worktree-path-sensitive UI assertion was verified by running the compiled tests from the expected project directory. With the discovery fixes in place, this looks ready to merge. Thanks again!
|
Closes #56
Summary
/v1/modelsendpoints/modelscatalog pathsValidation
cargo fmtcargo checkcargo test model::discovery::tests