programs.pay-respects.aiIntegration

Whether to enable pay-respects' LLM integration. When there is no rule for a given error, pay-respects can query an OpenAI-compatible API endpoint for command corrections.

For all of these methods, you can set a custom secret API key by using the _PR_AI_API_KEY environment variable.

Type
boolean or (submodule)
Default
false
Example
{
  locale = "nl-be";
  model = "llama3";
  url = "http://127.0.0.1:11434/v1/chat/completions";
}
Declared
<nixpkgs/nixos/modules/programs/pay-respects.nix>