INNER CODE UNIT · Python
_build_context
thomwebb/gac · src/gac/main.py:324
def _build_context() -> WorkflowContext:
"""Build WorkflowContext for the single-commit path."""
gen_config = GenerationConfig(
model=model,
temperature=temperature,
max_output_tokens=max_output_tokens,
max_retries=max_retries,
reasoning_effort=reasoning_effort,
)
flags = WorkflowFlags(
require_confirmation=opts.require_confirmation,
quiet=opts.quiet,
no_verify=opts.no_verify,
dry_run=opts.dry_run,
message_only=opts.message_only,
push=opts.push,
show_prompt=opts.show_prompt,
interactive=opts.interactive,