Skip to content

Conversation

@prankstr
Copy link
Owner

@prankstr prankstr commented Jan 13, 2026

New Features

  • Codex model support: Models like gpt-5.1-codex now work via the /responses API endpoint
  • Faster GPT-5.x: Automatically uses reasoning_effort: "none" for gpt-5/gpt-5.1/gpt-5.2, reducing response time while still maintaining quality

Improvements

  • Default model: Changed from gpt-5-mini to gpt-4.1 - faster and with same-ish quality among free models
  • Prose commit bodies: -d and -a modes now generate small paragraphs to provide context instead of bullet lists
  • Better error messages: HTTP 400 errors now point to GitHub Copilot settings page

- Add supported_endpoints field to CopilotAuth for endpoint routing
- Implement generate_via_responses() for models that only support /responses API
- Filter models by policy.state == 'enabled' in addition to model_picker_enabled
- Improve error message for HTTP 400 with link to enable models
- Improve base prompt for better commit message generation
- Better error message when credentials not found
- Add --diff-file <path> to read diff from file or stdin (use - for stdin)
- Add --model <name> to override model without persisting to config
- Increase diff context to 12 lines (-U12) for better commit messages
- Add derive_diff_stat() to generate stat summary from diff content
- Add read_diff_from_file() for reading diff from file/stdin
- Add hint about enabling models in 'ghcc models' output
- Wrap --diff-file and --model options with #[cfg(debug_assertions)]
- Wrap read_diff_from_file() and derive_diff_stat() in debug builds only
- Debug build: includes testing options for benchmarking
- Release build: clean CLI without testing-only features
- Change default model from gpt-5-mini to gpt-4.1 (best free model)
- Update -d/--detailed to use prose paragraphs instead of bullet lists
- Update -a/--auto to use prose when body is included
- Update README with new default and model recommendations
@prankstr prankstr changed the title fix: support models that require /responses API v0.2.0: support for codex models, better defaults, faster GPT-5 Jan 13, 2026
@prankstr prankstr merged commit 44aa12b into main Jan 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants