Skip to content

[Bug] one api gemini #902

@Wszhdg

Description

@Wszhdg
  1. Press Cmd+Shift+P in Void, and type Help: About. Please paste the information here. Also let us know any other relevant details, like the model and provider you're using if applicable.
    版本: 1.99.30044
    提交: 1.4.9
    日期: b5a4184
    Electron: 2025-06-23T08:09:51.384Z
    ElectronBuildId: 34.3.2
    Chromium: undefined
    Node.js: 132.0.6834.210
    V8: 20.18.3
    OS: 13.2.152.41-electron.0

  2. Describe the issue/feature here!
    Whenever I send a message, I get the following error. If I change the model so that it no longer appears in the settings,
    "supportsSystemMessage": "System Role",
    "specialToolFormat": "Gemini Style",
    I'm completely helpless. The problem lies here.
    Error: 400 Provider API Error: Request input is empty. (Request ID: 20250918114837682410365GE9DFjxV)

I must explain that I am using one api to use gemini, because I have multiple gemini api keys and I need load balancing

I used OpenAl-Compatible to add the one api and then added the model in it. I tried to solve the problem myself. As long as I mapped the model name to void-2.5-pro, I could use the model normally, but this is obviously not what should happen.

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