Repository navigation
feat: add MartLLM as AI provider - #1283
Open
al-global-tech wants to merge 2 commits into
Open
al-global-tech wants to merge 2 commits into
al-global-tech wants to merge 2 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Update (2026-11-22): UberLLM is now MartLLM. Same service, same accounts and API keys; the new site is https://martllm.com and the API base URL is https://api.martllm.com/v1 (the old uberllm.dev addresses keep working). This PR now uses the new name and links.
Adds MartLLM as a provider template in AI Settings. It is an OpenAI-compatible gateway, so one key covers DeepSeek, Claude, GPT, Qwen, Kimi and other chat models for Blinko's AI chat, summaries and tagging. "Fetch models" works with no extra code: the existing default branch in
fetchProviderModelscallsGET https://api.martllm.com/v1/modelsand lists the ~260 chat model ids (vendor/model).Mirrors #1187 (LiteLLM):
constants.tsx:martllmentry inPROVIDER_TEMPLATES, default base URLhttps://api.martllm.com/v1LLMProvider.ts:case 'martllm'withcreateOpenAIand that default URLAIIcon.tsx: icon mapping (generic OpenAI mark, same ascustom)__tests__/martllm-provider.test.ts: unit tests in the style oflitellm-provider.test.tsOne difference from #1187:
EmbeddingProvider.tsis not touched. MartLLM has no embedding models today, so I did not add a case that would only fail; users keep a separate embedding provider.Tests:
bun test server/aiServer/providers/__tests__/→ 21 pass, 0 fail (4 new). No new dependencies.Tested with deepseek/deepseek-v4.1-flash:
LLMProvider.getLanguageModel({ provider: 'martllm', ... })+generateTextreturned "blinko ok" (finish reasonstop).Per-model prices (usually below list price): https://martllm.com/models
I work on MartLLM.