Skip to main content

get_primary_commit_agent

Function get_primary_commit_agent 

Source
pub fn get_primary_commit_agent(ctx: &PhaseContext<'_>) -> Option<String>
Expand description

Get the primary commit agent from the registry.

This function returns the name of the primary commit agent. If a commit-specific agent is configured, it uses that. Otherwise, it falls back to using the reviewer chain (since commit generation is typically done after review).