[Feature]: local llms via codex (or claude)
Problem or motivation
Hello, i configured codex to use llama swap / llama cpp, and it is usable via codex but when i tried to change the model via telegram, it doesnt show the local models as an option. is this expected and if yes, can we request it as a feature? thank you
Proposed solution
expose non official models eg. local models configured via the ai tool
Alternatives considered
No response
Before submitting
- [x] I have searched existing issues and feature requests for duplicates.
Or instead maybe we can connect to other cli tools like opencode
Status update: deferring to the next milestone. I spiked this during the Phase 3 provider work for v0.16.0 — the short answer is it's not the 1-line validator relaxation it looks like. What users actually want is a UI button for their local model in Telegram's /model selector, which means config schema + selector state + per-provider allow-lists + tests. It pairs well with #94 (Copilot) and the earlier PR #100 (OpenCode) in a dedicated "provider extensibility" phase. Keeping this open — will link to the tracking issue when that phase is scoped.
+1 on this from a multi-topic / cross-LLM use case angle.
I run Ductor alongside Claude Code on Mac, and I'd love to be able to use OpenCode (https://opencode.ai) as a 4th provider in Ductor. OpenCode itself is a meta-provider — once it's in, you get access to local LLMs (Qwen, Mistral via Ollama), OpenRouter routing, and a path forward as new providers emerge, without Ductor needing to wrap each new CLI individually.
I noticed PR #100 (@ryanchao0518) already implemented an OpenCodeCLI provider but was deferred for 4 blocking issues (daemon-lifecycle leak, missing --host 127.0.0.1 bind, "removed Claude from UI" regression, cross-AI review). The approach you described in your comment on PR #100 sounded sound — would you be open to someone (could be me, with your guidance) picking up that PR, rebasing on main, and fixing the four blockers? Happy to contribute if it helps unblock the broader provider-extensibility phase you mentioned in #94 and here.