Skip to content

[Bug]: Issues with Google Gemini API via Custom Provider #335

@Skatter887

Description

@Skatter887

Description

I am trying to use Google Gemini API (via Google AI Studio) in Open CoDesign by using the Custom Provider option. I've configured the Base URL as https://generativelanguage.googleapis.com/v1beta/openai/ and provided my API key, but I'm encountering stability issues/errors when the agent tries to generate code.

Steps to reproduce

Set Provider to Custom.

URL: https://generativelanguage.googleapis.com/v1beta/openai/

Model ID: gemini-1.5-pro (or gemini-1.5-flash)

Start a new design task.

Expected behavior

The agent should communicate with Gemini and start generating the project files as it does with OpenAI or Anthropic.

Actual behavior

Is anyone else successfully using Gemini via the Custom Provider?

open-codesign version

0.2.0

Platform

macOS

OS version

No response

Model provider (if relevant)

None

Error code

No response

Diagnostics bundle

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageAwaiting maintainer review

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions