Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.

Updates to model #4951

Merged
dileepyavan merged 1 commit into
mainfrom
DileepY/update_april
Apr 3, 2026
Merged

Updates to model #4951
dileepyavan merged 1 commit into
mainfrom
DileepY/update_april

Conversation

@dileepyavan
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 3, 2026 00:12
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds support for a new “Hidden Model B” by introducing hash-based model detection, enabling specific capabilities for that model, and registering a dedicated OpenAI agent prompt for it.

Changes:

  • Add HIDDEN_MODEL_B_HASHES + isHiddenModelB() to identify the new hidden model via SHA-256 family hash.
  • Treat Hidden Model B as supporting apply_patch and preferring JSON notebook representation.
  • Register a new prompt/resolver (hiddenModelBPrompt.tsx) and ensure it’s imported via allAgentPrompts.ts.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/platform/endpoint/common/chatModelCapabilities.ts Adds Hidden Model B identification and extends capability checks to include it.
src/extension/prompts/node/agent/openai/hiddenModelBPrompt.tsx Introduces a new prompt + resolver keyed off isHiddenModelB().
src/extension/prompts/node/agent/allAgentPrompts.ts Imports the new prompt module so it gets registered.

Comment thread src/extension/prompts/node/agent/allAgentPrompts.ts
Comment thread src/extension/prompts/node/agent/openai/hiddenModelBPrompt.tsx
Comment thread src/platform/endpoint/common/chatModelCapabilities.ts
@dileepyavan dileepyavan added this pull request to the merge queue Apr 3, 2026
Merged via the queue into main with commit 14e9845 Apr 3, 2026
23 checks passed
@dileepyavan dileepyavan deleted the DileepY/update_april branch April 3, 2026 07:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants