-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Describe the bug
Trying to do initial setup with custom provider. Goose just writes an empty config.
To Reproduce
~/tmp/goose-test$ cat ~/.config/goose/config.yaml
cat: /home/jeans/.config/goose/config.yaml: No such file or directory
~/tmp/goose-test$ goose configure
This will update your existing config file
if you prefer, you can edit it directly at /home/jeans/.config/goose/config.yaml
┌ goose-configure
│
◇ What would you like to configure?
│ Custom Providers
│
◇ What would you like to do?
│ Add A Custom Provider
│
◇ What type of API is this?
│ OpenAI Compatible
│
◇ What should we call this provider?
│ Local LM Studio
│
◇ Provider API URL:
│ http://localhost:1234
│
◇ API key:
│ ▪▪▪▪
│
◇ Available models (seperate with commas):
│ qwen/qwen3-coder-30b
│
◇ Does this provider support streaming responses?
│ Yes
│
~/tmp/goose-test$ echo $?
0
~/tmp/goose-test$ cat /home/jeans/.config/goose/config.yaml
{}
I am using Ubuntu 24.04 and KDE Neon and keepassxc with Secret Service support.
I noticed that the unlock dialog of keepassxc popped up when I frist try to install.
However, I don't want to store anything there, the key is not needed for local tests anyway.
The documentation says something about a keyring and the environment variable OPENAI_KEY should be set. This did not change anything.
When I open the vault and run the setup again, Goose writes a new secret into it and stops with:
└ Custom provider added: Local LM Studio
Still config.yaml is empty:
goose info -v
Goose Version:
Version: 1.9.3
Goose Locations:
Config file: /home/jeans/.config/goose/config.yaml
Sessions dir: /home/jeans/.local/share/goose/sessions
Logs dir: /home/jeans/.local/state/goose/logs
Goose Configuration:
No configuration values set
Run 'goose configure' to configure goose
Expected behavior
An error message with a reasonable hint if configuration is not possible
If the problem is the secret storage, a working documented way to it switch off secret storage
Also, since it says /home/jeans/.config/goose/config.yaml the expectation is that ONLY this file will be changes. Secrets should only be written when instructed or with confirmation.
Screenshots
If applicable, add screenshots to help explain your problem.
Please provide following information:
- OS & Arch: Ubuntu 24.04 / KDE Neon
- Interface: cli
- Version: 1.9.3
- Extensions enabled:-
- Provider & Model: Local LM Studio