Skip to content

feat: add CommandCode model provider plugin - #33886

Closed
ousiaresearch wants to merge 1 commit into
NousResearch:mainfrom
ousiaresearch:feat/commandcode-provider
Closed

feat: add CommandCode model provider plugin#33886
ousiaresearch wants to merge 1 commit into
NousResearch:mainfrom
ousiaresearch:feat/commandcode-provider

Conversation

@ousiaresearch

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds CommandCode as a first-class model provider plugin.

Type of Change

  • ✨ New feature

Changes Made

  • New provider plugin at plugins/model-providers/commandcode/:
    • provider.py — OpenAI-compatible endpoint at api.commandcode.ai/provider/v1, static context-length overrides for 15+ models
    • anthropic_shim.py — Anthropic Messages API adapter for Claude models via CommandCode
    • plugin.yaml — provider manifest
  • Test coverage in tests/providers/test_commandcode_profile.py
  • Updated tests/providers/test_plugin_discovery.py to include "commandcode" in required provider spot-check

How to Test

  1. pytest tests/providers/test_commandcode_profile.py tests/providers/test_plugin_discovery.py
  2. Set COMMANDCODE_API_KEY env var and configure as provider

Checklist

  • I have tested these changes locally
  • I have written or updated tests

Adds CommandCode as a first-class model provider with OpenAI-compatible
endpoint at api.commandcode.ai/provider/v1, Anthropic shim for Claude,
and static context-length overrides for 15+ models. Includes test coverage.
@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/plugins Plugin system and bundled plugins labels May 28, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Duplicate of #32909 — same CommandCode provider plugin by the same author. Also bundled in the mega PR #33884.

@alt-glitch alt-glitch added the duplicate This issue or pull request already exists label May 28, 2026
@ousiaresearch
ousiaresearch deleted the feat/commandcode-provider branch May 29, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/plugins Plugin system and bundled plugins duplicate This issue or pull request already exists P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants