opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Improve provider and API key update workflow after initial setup

Open PeterDaveHello opened this issue 5 months ago • 6 comments

After the initial provider and API key setup guided by the application, updating or reconfiguring provider credentials later is not straightforward unless users have already read the documentation or have been shown how to do it. There is no clear indication or workflow in the CLI or TUI for changing providers or API keys after the initial configuration, and the interface does not make these options discoverable. This core workflow is only described in external documentation, such as Providers Documentation, and is not accessible from within the app itself.

Suggestions:

  • Provide a clear and accessible way to update or reconfigure provider and API key settings directly from both CLI and TUI, without requiring users to search external documentation or fully reinitialize the application.
  • Consider adding dedicated commands, menu options, or prompts that guide users through updating provider credentials or API keys from within the application interface.
  • Clearly document this workflow in-app so instructions are easily found when switching providers or refreshing API keys.

Addressing this would make the experience smoother and more intuitive for users who need to manage multiple LLM providers or rotate credentials. I believe improvements in this area would benefit both new and experienced users.

Looking forward to feedback and suggestions from the community and maintainers on potential approaches.

PeterDaveHello avatar Aug 04 '25 16:08 PeterDaveHello