Skip to content

feat(ai): OpenRouter provider and AI settings section - #46

Merged
SobshDev merged 1 commit into
mainfrom
feat/openrouter-provider-and-ai-settings
May 19, 2026
Merged

SobshDev merged 1 commit into
mainfrom
feat/openrouter-provider-and-ai-settings

Conversation

@SobshDev

Copy link
Copy Markdown
Owner

Summary

  • Adds an OpenRouterService implementing AiService (chat, streaming with tool calls, structured output) and wires it into createAiService.
  • Expands the chat model catalog with three OpenRouter-backed models: DeepSeek Chat v3.1, Grok 4.3, GPT-5.4 Nano.
  • Adds an AI section to Settings with a per-provider key row (save, reveal/hide, remove); the chat provider exposes a new removeKey action.

Test plan

  • Open Settings → AI and confirm three provider rows render (Claude, Codex, OpenRouter).
  • Save, reveal, then remove an OpenRouter key; reload and confirm persistence/clearing.
  • Pick a DeepSeek/Grok/GPT model in the chat model picker and send a message — verify text streams in.
  • Trigger a tool call from an OpenRouter model and verify the round-trip completes (tool result fed back, final message returned).
  • Confirm Claude and Codex flows still work unchanged.

Adds an OpenRouter provider (DeepSeek v3.1, Grok 4.3, GPT-5.4 Nano) alongside
the existing Claude/Codex providers, and a new "AI" section in Settings to
save, reveal, and remove provider API keys.
@SobshDev
SobshDev merged commit f82c528 into main May 19, 2026
3 checks passed
@SobshDev
SobshDev deleted the feat/openrouter-provider-and-ai-settings branch May 19, 2026 16:29
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