Skip to content

Add gpt-5 models to the list #409

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

Merged
merged 1 commit into from
Aug 19, 2025
Merged

Add gpt-5 models to the list #409

merged 1 commit into from
Aug 19, 2025

Conversation

daxian-dbw
Copy link
Member

PR Summary

Add gpt-5 models to the list. The gpt-5, gpt-5-mini, and gpt-5-nano will be supported with this change.

@daxian-dbw
Copy link
Member Author

daxian-dbw commented Aug 8, 2025

I cannot access GPT-5 but was able to use gpt-5-nano. It doesn't work correctly -- first, it's not fast; second, I only get response for the first query, and nothing for all subsequent queries. Need to look deeper into it, so will close this PR.


[UPDATE] When using the OpenAI gpt-5 or gpt-5-mini endpoints, I receive explicit errors about "no permission to access endpoint for streaming". Although the gpt-5-nano endpoint doesn't throw the error, I think it's not working due to the same reason.
I will add gpt-5 to the list of supported models for now. Once I have access to gpt-5 model, I can better test it.

@daxian-dbw daxian-dbw closed this Aug 8, 2025
@daxian-dbw daxian-dbw reopened this Aug 14, 2025
@daxian-dbw daxian-dbw merged commit 513147e into PowerShell:main Aug 19, 2025
7 checks passed
@daxian-dbw daxian-dbw deleted the gpt5 branch August 19, 2025 18:27
@jakupmichaelsen
Copy link

jakupmichaelsen commented Aug 20, 2025

I GPT-5 supported now?

After adding GPT-5 in openai.agent.json I simply get:

ERROR: 'gpt-5' is not a supported OpenAI chat completion model.

@daxian-dbw
Copy link
Member Author

@jakupmichaelsen sorry, you will need to use a new build of AIShell to use gpt-5 models. We will think about loosening the check on models.

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.

3 participants