Skip to content

Conversation

42HD
Copy link

@42HD 42HD commented Aug 26, 2025

Replace the runtime SHA-256 comparison in isHiddenModelB with a direct plain-family equality check for the known model family "grok-code". This removes unnecessary crypto overhead and ensures the function always returns a boolean Promise.

Replace the runtime SHA-256 comparison in `isHiddenModelB` with a direct plain-family equality check for the known model family "grok-code". This removes unnecessary crypto overhead for the common case and ensures the function always returns a boolean Promise.
@lramos15
Copy link
Member

We would likely want to remove the isHiddenModel function all together since this model is no longer hidden. Then you would just inline grok code with the rest of the checks that this function was calling into

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants