Skip to content

docs: add LLMTR provider#31316

Open
knowhycodata wants to merge 1 commit into
anomalyco:devfrom
knowhycodata:add-llmtr-docs
Open

docs: add LLMTR provider#31316
knowhycodata wants to merge 1 commit into
anomalyco:devfrom
knowhycodata:add-llmtr-docs

Conversation

@knowhycodata
Copy link
Copy Markdown

@knowhycodata knowhycodata commented Jun 8, 2026

Issue for this PR

Closes #31315

Type of change

  • Documentation

What does this PR do?

Adds a docs section for LLMTR (an OpenAI-compatible AI gateway hosted in Turkey) in providers.mdx. Once LLMTR is in models.dev (companion PR anomalyco/models.dev#2062), opencode already supports it through the generic @ai-sdk/openai-compatible path with no runtime code — so this PR only documents the connect flow and how to use any catalog model id via config.

How did you verify your code works?

Built an augmented catalog (models.dev api.json + the new llmtr entry), pointed opencode at it with OPENCODE_MODELS_PATH, and confirmed opencode models lists all six llmtr/* models and opencode run --model llmtr/gemma-4 returns a real response. Log: providerID=llmtr pkg=@ai-sdk/openai-compatible using bundled provider.

Screenshots / recordings

Not a UI change (docs only).

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Closes anomalyco#31315

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Jun 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 8, 2026

Thanks for updating your PR! It now meets our contributing guidelines. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: Add LLMTR as a provider

2 participants