aider icon indicating copy to clipboard operation
aider copied to clipboard

OpenRouter breaks voice

Open skorokithakis opened this issue 2 years ago • 5 comments

Issue

If I use OpenRouter, the /voice command breaks, presumably because it uses the OpenRouter API base.

Version and model info

aider 0.45.1

skorokithakis avatar Jul 20 '24 15:07 skorokithakis

Unable to reproduce. I'm using:

Aider v0.45.1 Models: openrouter/anthropic/claude-3.5-sonnet with diff edit format, weak model openrouter/deepseek/deepseek-coder

/voice is working fine here.

I assume you A/B tested and it works when you switch models? If so, please provide the chat logs.

floogy avatar Jul 22 '24 06:07 floogy

Yes I did, it was working fine without the API base and breaking with it. I will try to reproduce again and post everything here.

skorokithakis avatar Jul 22 '24 07:07 skorokithakis

Thanks for trying aider and filing this issue.

How you are you configuring aider to use openrouter? If you do it per the docs, it should not affect /voice.

https://aider.chat/docs/llms/openrouter.html

paul-gauthier avatar Jul 22 '24 12:07 paul-gauthier

Ah, I wasn't aware of this new way, I was using api_base, I guess that would be why. Thanks!

skorokithakis avatar Jul 22 '24 12:07 skorokithakis

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.

paul-gauthier avatar Jul 22 '24 12:07 paul-gauthier