Skip to content

feat: add MartLLM as AI provider - #1283

Open
al-global-tech wants to merge 2 commits into
blinkospace:mainfrom
al-global-tech:add-uberllm-provider
Open

al-global-tech wants to merge 2 commits into
blinkospace:mainfrom
al-global-tech:add-uberllm-provider

Conversation

@al-global-tech

@al-global-tech al-global-tech commented Nov 10, 2026 •

Copy link
Copy Markdown

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 fetchProviderModels calls GET https://api.martllm.com/v1/models and lists the ~260 chat model ids (vendor/model).

Mirrors #1187 (LiteLLM):

  • constants.tsx: martllm entry in PROVIDER_TEMPLATES, default base URL https://api.martllm.com/v1
  • LLMProvider.ts: case 'martllm' with createOpenAI and that default URL
  • AIIcon.tsx: icon mapping (generic OpenAI mark, same as custom)
  • __tests__/martllm-provider.test.ts: unit tests in the style of litellm-provider.test.ts

One difference from #1187: EmbeddingProvider.ts is 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', ... }) + generateText returned "blinko ok" (finish reason stop).

Per-model prices (usually below list price): https://martllm.com/models

I work on MartLLM.

al-global-tech and others added 2 commits November 10, 2026 20:53
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@al-global-tech al-global-tech changed the title feat: add UberLLM as AI provider feat: add MartLLM as AI provider Nov 22, 2026

This branch has not been deployed

No deployments
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.

1 participant