Codumentor logo Codumentor

Model Profiles Plugin

The Model Profiles plugin lets authenticated users define their own named LLM profiles (model id, base URL, API key, thinking options) and assign them to specific agent roles — overriding which model each role uses for that user's turns. Deployers control whether users may bring their own API keys and which endpoints are allowed.

Configuration

plugins:
  - module: codumentor.plugins.model_profiles
    class: ModelProfilesPlugin
    priority: 5
    args:
      enabled: true
      allow_custom_api_keys: true
      max_profiles_per_user: 20
      # allowed_base_urls: ["https://openrouter.ai/api/v1"]

Parameters

How It Works

The plugin exposes no agent tools. Instead it:

Profiles can be assigned to known roles such as subagent, explore, agentic_developer, web_retrieve, web_search, context_summarization, and goal. Deployers can also define read-only admin profiles in models.profiles, which users may "adopt" by supplying their own key.

Notes