Skip to content

commit ​

Generate a Conventional Commits v1.0.0 message for the currently staged changes via a local LLM.

How to use it, with examples: AI assistance.

All options ​

OptionValueDefaultDescription
--provider, --backend, -bTEXTLLM provider: "managed" (local llama.cpp run by fobis, the default), "ollama" or "openai" (--backend is the former name).
--url, -uTEXTBase URL of the LLM server.
--api-key-envTEXTEnvironment variable holding the API key, sent as a Bearer token (hosted endpoints).
--model, -mTEXTModel identifier to use.
--max-diffINTEGERMaximum staged-diff characters sent to the model.
--refine-passesINTEGERCritique-and-rewrite iterations after the initial draft (0 = single pass). Recommended: 1-3 for small/fast models.
--applyRun git commit with the generated message after review.
--config, -cTEXTPath to a custom FoBiS user config file.
--show-configShow effective LLM configuration and exit.
--init-configCreate a commented default config file and exit.
--show-factsPrint the facts of the staged change (scope candidates, Fortran line kinds, type hints) and exit; no model is run.
--no-factsDo not compute the facts of the change (free scope).
--jsonWith --show-facts: the facts as JSON.