Skip to content

Add custom base URL support for Gemini embedding provider in Codebase IndexingΒ #5744

@therainisme

Description

@therainisme

What specific problem does this solve?

In Roo Code's Codebase Indexing configuration, when selecting Gemini as the Embedder Provider, there's no "Use custom base URL" option available, while other providers include this feature.

This issue primarily affects users who need proxy servers or mirror services. When users select Gemini as their embedding model, they can currently only use the hardcoded https://generativelanguage.googleapis.com/v1beta/openai/ endpoint, but expect to have a "Use custom base URL" option available.

This prevents users from using self-hosted or proxy services, making Gemini embeddings unusable in network-restricted environments.

Additional context (optional)

No response

Roo Code Task Links (Optional)

No response

Request checklist

  • I've searched existing Issues and Discussions for duplicates
  • This describes a specific problem with clear impact and context

Interested in implementing this?

  • Yes, I'd like to help implement this feature

Implementation requirements

  • I understand this needs approval before implementation begins

How should this be solved? (REQUIRED if contributing, optional otherwise)

No response

How will we know it works? (Acceptance Criteria - REQUIRED if contributing, optional otherwise)

No response

Technical considerations (REQUIRED if contributing, optional otherwise)

No response

Trade-offs and risks (REQUIRED if contributing, optional otherwise)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions