Which version of the app are you using?
3.3.18
Which API Provider are you using?
OpenRouter
Which Model are you using?
DeepSeek & Claude
What happened?
Fresh install, user tried to log into OpenRouter account in browser and copy/paste their API key directly into the field in the Settings menu for OpenRouter. It did let him paste the key but there must have been some transformation in the paste. He could not successfully connect to OpenRouter to perform any actions. He deleted the key and clicked the button "Get Open Router key" and followed that process and everything worked successfully.
I'm wondering if on paste, we need to apply a trim() if there is an extra space being pasted in from copying directly from Open Router?
Discord chat: https://discord.com/channels/1332146336664915968/1339430623093325836
Steps to reproduce
- Fresh install of Roo (no prior settings - although the user did switch from Cline to Roo)
- Go to openrouter.com, copy API key
- Paste key into Settings menu for Open Router
- Attempt to do something in Roo, receive an error
Relevant API REQUEST output
Additional context
No response