DeepTutor icon indicating copy to clipboard operation
DeepTutor copied to clipboard

[Feature Request]: Add LLMTR as an OpenAI-compatible LLM provider

Open knowhycodata opened this issue 1 month ago • 2 comments

Do you need to file a feature request?

  • [x] I have searched the existing feature request and this feature request is not already filed.
  • [x] I believe this is a legitimate feature request, not just a question or bug.

Feature Request Description

Add LLMTR as a built-in LLM provider. LLMTR is an OpenAI-compatible gateway (https://llmtr.com/v1) serving a few hundred models behind one key, including free Qwen models, with streaming and tool calling on /v1/chat/completions. Disclosure: I maintain LLMTR.

The change is a single ProviderSpec entry in deeptutor/services/provider_registry.py, added the same way as Onomeo and Runcrate:

  • name llmtr, display name LLMTR, openai_compat backend, gateway mode
  • env key LLMTR_API_KEY
  • detection by key prefix llmtr- and base-URL keyword llmtr
  • default API base https://llmtr.com/v1
  • model ids passed through unchanged (e.g. llmtr/qwen3-8-27b, qwen/qwen3.8-27b-free)

Related Module

API/Backend

Use Case

Today LLMTR users pick the generic OpenAI-compatible option and type the base URL by hand. A named entry gives them the right default endpoint, key-prefix detection, native tool calling, and a recognizable label and icon in Settings.

Additional Context

I have a PR ready against dev. Besides the registry entry it adds the provider icon to web/public/provider-icons/ (source recorded in sources.json), the branding entry in web/lib/provider-branding.ts, and tests mirroring the existing gateway providers.

knowhycodata avatar Oct 29 '26 08:10 knowhycodata

Implemented by #2156 (merged into dev on 2026-10-31): LLMTR is now an OpenAI-compatible provider with its registry entry, base URL detection, native-tools list and icon provenance. This can be closed.

Antonio-Faure avatar Oct 31 '26 13:10 Antonio-Faure

Thanks @Antonio-Faure for testing it and @pancacake for merging. Closing as completed via #2156.

knowhycodata avatar Nov 04 '26 12:11 knowhycodata