Skip to content

How to properly use Gemini with ChatDev #547

@ReppiksProductions

Description

@ReppiksProductions

I can't get ChatDev to work with Gemini. I don't know if I'm calling the wrong models or what. I am running ChatDev on a windows PC via Docker. I edited my .env file as follows:

BASE_URL="https://generativelanguage.googleapis.com/v1beta/openai"
API_KEY="AIza..."

I'm getting 404 error when a node tries to call a model. I've tried gemini-1.5-flash, gemini-1.5-pro, and gemini-2.5-pro. All of which give the following error:
chatdev Model call attempt 1 failed: 404 Not Found. {'message': '', 'status': 'Not Found'}

Can someone please walk me through step by step to get this going?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions