Skip to content

Add DeepSeek, Xiaomi MiMo and OpenAI chat providers; wire provider se… - #3

Closed
NeighboursCat wants to merge 1 commit into
Pixel-Process-UG:mainfrom
NeighboursCat:feature/chat-providers-deepseek-mimo
Closed

NeighboursCat wants to merge 1 commit into
Pixel-Process-UG:mainfrom
NeighboursCat:feature/chat-providers-deepseek-mimo

Conversation

@NeighboursCat

Copy link
Copy Markdown

…lection

Agents could pick a provider in the UI, but the runtime always ran the Claude CLI and never received the setting. Route non-Claude providers to agent-providers.mjs (plain chat completions), pass provider and model into the runtime on create, at startup and on PATCH, and validate the name.

  • agent-providers.mjs: openai, deepseek, mimo (OpenAI-compatible) and ollama
  • keys come from env (OPENAI_API_KEY, DEEPSEEK_API_KEY, MIMO_API_KEY); endpoints overridable with _BASE_URL
  • chat providers have no shell, files or MCP connectors
  • tests cover endpoint, auth, errors without leaking the key, timeout, dispatch and cancel

Claude-Session: https://claude.ai/code/session_01LXCYnF4wGT7xVtPq6MYpa6

Summary

Changes

Test plan

  • npm test passes
  • npm run build succeeds
  • Manual verification (describe if applicable)

Screenshots

Checklist

  • Code follows the project's style
  • No leaked private data (paths, credentials)
  • Tests added/updated for new functionality
  • Accessibility reviewed (keyboard nav, ARIA, focus)
  • Mobile responsiveness verified

…lection

Agents could pick a provider in the UI, but the runtime always ran the
Claude CLI and never received the setting. Route non-Claude providers to
agent-providers.mjs (plain chat completions), pass provider and model into
the runtime on create, at startup and on PATCH, and validate the name.

- agent-providers.mjs: openai, deepseek, mimo (OpenAI-compatible) and ollama
- keys come from env (OPENAI_API_KEY, DEEPSEEK_API_KEY, MIMO_API_KEY);
  endpoints overridable with <PROVIDER>_BASE_URL
- chat providers have no shell, files or MCP connectors
- tests cover endpoint, auth, errors without leaking the key, timeout,
  dispatch and cancel

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LXCYnF4wGT7xVtPq6MYpa6
@NeighboursCat NeighboursCat closed this by deleting the head repository Oct 10, 2026
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