Skip to content

[Bug]: BYOK problem #2656

@lijiajun1979

Description

@lijiajun1979

Current Behavior

My mistral ai config is
{
"mistral-ai": {
"display:name": "mistral-pixtral",
"display:order": 1,
"display:icon": "server",
"ai:provider": "custom",
"ai:apitype": "openai-chat",
"ai:model": "pixtral-12b-2409",
"ai:endpoint": "https://api.mistral.ai/vi/chat/completions",
"ai:apitoken": "mistral",
"ai:apitokensecretname": "************************",
"ai:capabilities": ["tools", "images", "pdfs"]
}
}
but there is some error

Failed to post message: failed to store message: API type mismatch: expected openai-responses, got openai-chat

how can I fix it?!

Expected Behavior

I need a example of custom ai config

Steps To Reproduce

just config

Wave Version

v0.13

Platform

macOS

OS Version/Distribution

No response

Architecture

arm64

Anything else?

No response

Questionnaire

  • I'm interested in fixing this myself but don't know where to start
  • I would like to fix and I have a solution
  • I don't have time to fix this right now, but maybe later

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeeds triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions