Skip to content

feat: add inception provider#11867

Closed
Dennesssy wants to merge 12 commits intoRooCodeInc:mainfrom
Dennesssy:Roo-Code-Inception
Closed

feat: add inception provider#11867
Dennesssy wants to merge 12 commits intoRooCodeInc:mainfrom
Dennesssy:Roo-Code-Inception

Conversation

@Dennesssy
Copy link

@Dennesssy Dennesssy commented Mar 5, 2026

Closes #11866

Add Inception Labs provider integration with Mercury 2 and Mercury Edit models.

Implementation

  • Add inception.ts to packages/types/src/providers/ with model configurations:
    • mercury-2: Chat completions model (128K context, $0.25/$0.75 per 1M tokens)
    • mercury-edit: Code editing model for FIM/apply-edit/next-edit (32K context)
  • Add InceptionHandler extending OpenAICompatibleHandler
  • Add test coverage in inception.spec.ts
  • Update provider settings and configuration files

References

Note: Awaiting assignment confirmation on issue #11866 per contribution guidelines.

Interactively review PR in Roo Code Cloud

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. Enhancement New feature or request labels Mar 5, 2026
Dennesssy and others added 3 commits March 5, 2026 06:20
- Add Inception.tsx settings UI component for API key/base URL input
- Register Inception in providers/index.ts and ApiOptions.tsx
- Add inceptionDefaultModelId to model picker config in ApiOptions.tsx
- Add inception i18n translation keys to all 18 locales
- Remove cacheReadsPrice from mercury-edit (supportsPromptCache is false)
- Use INCEPTION_DEFAULT_TEMPERATURE constant in handler (was hardcoded)
- Use inceptionModelInfoSaneDefaults as fallback in handler

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fixes TypeScript type errors in @roo-code/ipc check-types:
- Import inceptionModels in provider-settings.ts
- Add inception entry to modelIdKeysByProvider Record
- Add inception entry to MODELS_BY_PROVIDER Record

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…iles

- providers/index.ts: import inceptionDefaultModelId, add case "inception"
  to getProviderDefaultModelId switch
- constants.ts: import inceptionModels, add to MODELS_BY_PROVIDER and PROVIDERS
- providerModelConfig.ts: import inceptionDefaultModelId, add to
  PROVIDER_SERVICE_CONFIG and PROVIDER_DEFAULT_MODEL_IDS
- useSelectedModel.ts: import inceptionModels, add case "inception" to switch
  (fixes TS exhaustive type check error)
- checkExistApiConfig.spec.ts: add inceptionApiKey to "all keys undefined" test
- inception.spec.ts: fix createMessage test to iterate ApiStream instead of
  awaiting .text (ApiStream is AsyncGenerator, not a plain object)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Inception Labs Provider Support

2 participants