Skip to content

Conversation

tysonthomas9
Copy link
Collaborator

  • Add GPT 5 support

@tysonthomas9 tysonthomas9 requested review from Copilot and olesho August 7, 2025 18:19
Copy link

@Copilot 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

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',
Copy link

Copilot AI Aug 7, 2025

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.

Suggested change
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',
Copy link

Copilot AI Aug 7, 2025

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.

Suggested change
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',
Copy link

Copilot AI Aug 7, 2025

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.

Suggested change
name: 'GPT-4.1 Nano',
name: 'GPT-5 Nano',

Copilot uses AI. Check for mistakes.

@tysonthomas9 tysonthomas9 merged commit 6711d26 into main Aug 7, 2025
tysonthomas9 added a commit that referenced this pull request Sep 28, 2025
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
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.

1 participant