-
Notifications
You must be signed in to change notification settings - Fork 47
Add GPT 5 support #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
tysonthomas9
commented
Aug 7, 2025
- Add GPT 5 support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for GPT-5 models to the AI chat panel by introducing new GPT-5 model variants and updating the codebase to handle them. The changes also include improvements to schema-based extraction tools and version updates.
- Adds GPT-5, GPT-5 Mini, and GPT-5 Nano models with August 2025 release dates
- Updates model cache handling to always use the latest hardcoded model list
- Simplifies schema extraction by removing legacy format support
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
File | Description |
---|---|
AIChatPanel.ts | Adds new GPT-5 model options and updates cache handling to always use latest defaults |
SchemaBasedExtractorTool.ts | Removes legacy schema format support and simplifies parameter handling |
Version.ts | Updates version to 0.3.0 and build date to reflect new release |
OpenAIProvider.ts | Adds GPT-5 model definitions and treats them like O-series for parameter compatibility |
{ | ||
id: 'gpt-4.1-2025-04-14', | ||
id: 'gpt-5-2025-04-14', | ||
name: 'GPT-4.1', |
Copilot
AI
Aug 7, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The model ID has been changed to 'gpt-5-2025-04-14' but the name field still shows 'GPT-4.1'. This creates inconsistency between the model ID and display name.
name: 'GPT-4.1', | |
name: 'GPT-5', |
Copilot uses AI. Check for mistakes.
{ | ||
id: 'gpt-4.1-mini-2025-04-14', | ||
id: 'gpt-5-mini-2025-04-14', | ||
name: 'GPT-4.1 Mini', |
Copilot
AI
Aug 7, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The model ID has been changed to 'gpt-5-mini-2025-04-14' but the name field still shows 'GPT-4.1 Mini'. This creates inconsistency between the model ID and display name.
name: 'GPT-4.1 Mini', | |
name: 'GPT-5 Mini', |
Copilot uses AI. Check for mistakes.
{ | ||
id: 'gpt-4.1-nano-2025-04-14', | ||
id: 'gpt-5-nano-2025-04-14', | ||
name: 'GPT-4.1 Nano', |
Copilot
AI
Aug 7, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The model ID has been changed to 'gpt-5-nano-2025-04-14' but the name field still shows 'GPT-4.1 Nano'. This creates inconsistency between the model ID and display name.
name: 'GPT-4.1 Nano', | |
name: 'GPT-5 Nano', |
Copilot uses AI. Check for mistakes.
This PR adds support for GPT-5 models to the AI chat panel by introducing new GPT-5 model variants and updating the codebase to handle them. - Adds GPT-5, GPT-5 Mini, and GPT-5 Nano models with August 2025 release dates