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

Author: Skatter887Created May 11, 2026Updated Aug 26, 2026
Labelsbugtriage

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

bash

Source: OpenCoworkAI/open-codesign