Get Started
Configuration
Configure model, API, role, and prompt template.
Configuration controls the LLM used by the commit workflow.
Setup
gmc initOr set values directly:
gmc config set apibase https://api.openai.com/v1
gmc config set apikey
gmc config set model gpt-4.1-mini
gmc config set role "Backend Developer"Read config
gmc config get
gmc config get -o jsonResolution order
gmc resolves config in this order:
--configGMC_CONFIG$XDG_CONFIG_HOME/gmc/config.yaml~/.gmc.yaml- project
.gmc.yaml
Keys
rolemodelapi_keyapi_baseprompt_templateenable_emoji
prompt_template points to a YAML template file, or default for the built-in template.