Skip to content

Add support for Granite 4.2 and fix cursor bugs - #33

Merged
armand0e merged 5 commits into
mainfrom
codex/granite-4-2-support
Aug 26, 2026
Merged

Add support for Granite 4.2 and fix cursor bugs#33
armand0e merged 5 commits into
mainfrom
codex/granite-4-2-support

Conversation

@armand0e

Copy link
Copy Markdown
Collaborator

Also attached are some cursor bug fixes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6c9a61ae66

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/teich/formatter.py Outdated
Comment on lines +470 to +473
low_effort = (
resolved_kwargs.get("low_effort", False) is True
or resolved_kwargs.get("reasoning_effort") == "low"
)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Forward the accepted low-effort alias to Granite

When a caller supplies chat_template_kwargs={"reasoning_effort": "low"}, this branch classifies the row as low_effort and enables thinking, but leaves only reasoning_effort in the arguments forwarded to the template. The documented live Granite template setting is low_effort=True (docs/training.md lines 156–162), so the rendered row can omit the low-effort prompt protocol while granite42_modes reports that it was applied. Either remove this alias or translate it to low_effort=True before rendering.

Useful? React with 👍 / 👎.

@armand0e
armand0e merged commit 35876b0 into main Aug 26, 2026
7 checks passed
@armand0e
armand0e deleted the codex/granite-4-2-support branch August 26, 2026 20:33
@CompactAIOfficial CompactAIOfficial added bug Something isn't working enhancement New feature or request triaged labels Aug 30, 2026
@CompactAIOfficial CompactAIOfficial changed the title Granite 4 2 support Add support for Granite 4.2 and fix cursor bugs Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants