Repository navigation
Offer LLMTR as an OpenAI-compatible model choice - #93
Open
knowhycodata wants to merge 1 commit into
Open
knowhycodata wants to merge 1 commit into
knowhycodata wants to merge 1 commit into
Conversation
Desktop setup lists LLMTR beside Google and xAI, with https://llmtr.com/v1 and qwen/qwen3.8-27b-free filled in. A self-hosted deployment keeps BOT_PROVIDER=openai and sets OPENAI_BASE_URL, OPENAI_API_KEY and BOT_MODEL.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #92
What this changes
Desktop setup lists LLMTR beside Google Gemini and xAI. The row uses the same endpoint credential route as those presets, fills in
https://llmtr.com/v1, starts the model asqwen/qwen3.8-27b-free, and links to LLMTR's API keys page. Disclosure: I maintain LLMTR.For hand-configured deployments, the README,
docs/configuration.mdand.env.exampleshowOPENAI_BASE_URL=https://llmtr.com/v1,OPENAI_API_KEY=llmtr-...andBOT_MODEL=<catalogue id>, withBOT_PROVIDERleft asopenaiandBOT_REASONING_EFFORTunset (LLMTR takesreasoningonly as a boolean).Touched:
desktop/src-tauri/src/provider.rs(catalogue row + tests),desktop/src/ProviderPicker.tsx(preset) and its test,README.md,docs/configuration.md,.env.example,CHANGELOG.md.If you'd rather ship a different default than the free
qwen/qwen3.8-27b-free, I'm happy to change it.Where it runs
Boundary and audit
Changelog
Unreleasedinopenbot/CHANGELOG.md.Proof
openbot/:bun run format:check,bun run lint,bun run typecheckpass. Inopenbot/desktop/:bun run typecheckandbun run buildpass.bun test desktop/src shared/model-providers.test.ts: 183 pass, 0 fail.cargo test --lib provider::(Tauri crate): 5 pass (on a machine with Rust 1.87+).cd openbot/agent-bot && bun src/index.ts) withOPENAI_BASE_URL=https://llmtr.com/v1, an LLMTR key inOPENAI_API_KEYandBOT_MODEL=llmtr/qwen3-8-27b, then posted AG-UI runs to/ag-ui:add_taskstool offered, the run streamedTOOL_CALL_START/TOOL_CALL_ARGS({"tasks":[{"title":"Call the dentist"}]}) /TOOL_CALL_ENDandRUN_FINISHEDin about 2.6 s.RUN_FINISHEDin about 2 s.qwen/qwen3.8-27b-freehit a temporary upstream error on the free model at that moment; the Bot surfaced it cleanly asRUN_ERROR.ProviderPickerandprovider.rstests above.