-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Inconsistent API Url requirement between desktop and CLI versions #6354
Description
Describe the bug
When using local openai compatible providers, the desktop version expect something like http://192.168.1.5:8000/ without "v1" but the CLI version (using goose configure) uses http://192.168.1.5:8000/v1
Steps to reproduce
Install latest desktop and CLI goose on MacOS, use goose configure to add custom provider, require API url like http://192.168.1.5:8000/v1
However, when adding custom provider through desktop version, it requires http://192.168.1.5:8000 without "v1"
Expected behavior
Consistent for both versions, i.e., requires standard openai api compatible url like
http://192.168.1.5:8000/v1