-
Notifications
You must be signed in to change notification settings - Fork 5
Add GPT-5 support #161
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
Add GPT-5 support #161
Conversation
GPT-5 supports code interpretation, web search and other tools.
✅ Deploy Preview for mcp-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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 to the chat application by including it in the list of supported models and enabling its access to code interpreter and web search capabilities.
- Added GPT-5 to the supported model prefixes list
- Updated error message to include GPT-5 as a code interpreter-capable model
- Enabled GPT-5 for code interpreter and web search functionality
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/routes/api/models.ts | Added 'gpt-5' to the SUPPORTED_MODEL_PREFIXES array |
| src/routes/api/chat.ts | Updated error message to mention GPT-5 as supporting code interpreter |
| src/lib/utils/prompting.ts | Added 'gpt-5' to both CODE_INTERPRETER_SUPPORTED_MODELS and WEB_SEARCH_SUPPORTED_MODELS sets |
|
I was a little quick on updating the lists, not realizing the others weren't prefixes. Should be good now. Thanks for reviewing. |
nickytonline
left a comment
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.
![]()
GPT-5 supports code interpretation, web search and other tools.