[Bug]: BYOK problem
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
there is some mistake. my platfomr is a linux pc
I won't be able to verify until tomorrow, but some quick things to try in the mean time...
There was a typo in the ai:endpoint, should be "v1" not "vi". "https://api.mistral.ai/v1/chat/completions"
Also that error "type mismatch" is likely cause you changed the model mid-chat (you can't mix two api types in the same chat). So try starting a new chat and then see if it works.