gk-cli icon indicating copy to clipboard operation
gk-cli copied to clipboard

[FEAT] Please allow us to bring our own LLM key and provider via config for '--ai' commands

Open alexsantos89 opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. I can't find a way of providing my own LLM key to use with the '--ai' for commits and PR creation

Describe the solution you'd like Ideally we could config GK cli to use our own key and LLM provider

Describe alternatives you've considered I had to switch to GK desktop, but my preference would be keep using in the GK cli

Additional context This would allow people to keep using the tool even though the tokens available in the subscription were expired

alexsantos89 avatar Oct 03 '25 13:10 alexsantos89

https://github.com/gitkraken/gk-cli/issues/159

thomaslovaslokoy-ui avatar Mar 23 '26 09:03 thomaslovaslokoy-ui

This will now be available in the upcoming release (3.1.66+). There will be a new command to manage this:

Command Purpose
gk ai provider add <provider> Register a new AI provider (prompts for key/config)
gk ai provider set <provider> Update fields on a registered provider
gk ai provider use <provider> Switch active provider without re-entering credentials
gk ai provider list List configured providers
gk ai provider show [provider] Show active (or named) provider's configuration
gk ai provider remove <provider> Remove a registered provider

miguelb-gk avatar May 22 '26 19:05 miguelb-gk