You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure you are able to repro it on the latest version
Search the existing issues.
Steps to reproduce
Recently installed and run /agent config which opened openai.agent.json in VSCode.
Deleted comments and added a new API key generated on Openai.com for this purpose.
Config screen attached
In AIShell selected ps-gpt4o as active model
Entered the text "what can you do?"
Expected behavior
A description of the AI's abilities be returned
Actual behavior
ERROR: Agent failed to generate a response: Project`proj_itsE4CpnVVyXqV4V5wwoBcwI` does not have access to model `gpt-4o`Status: 403 (Forbidden)ErrorCode: model_not_foundContent:{ "error": { "message": "Project `proj_xXXXXxxxXXXxxxxXX` does not have accessto model `gpt-4o`", "type": "invalid_request_error", "param": null, "code": "model_not_found" }}Headers:Date: Sat, 28 Dec 2024 13:11:05 GMTConnection: keep-aliveVary: REDACTEDX-Request-ID: REDACTEDStrict-Transport-Security: REDACTEDCF-Cache-Status: REDACTEDSet-Cookie: REDACTEDX-Content-Type-Options: REDACTEDServer: cloudflareCF-RAY: REDACTEDAlt-Svc: REDACTEDContent-Type: application/json; charset=utf-8Content-Length: 224 at Azure.Core.HttpPipelineExtensions.ProcessMessageAsync(HttpPipelinepipeline, HttpMessage message, RequestContext requestContext, CancellationTokencancellationToken) atAzure.AI.OpenAI.OpenAIClient.GetChatCompletionsStreamingAsync(ChatCompletionsOptions chatCompletionsOptions, CancellationToken cancellationToken) at AIShell.OpenAI.Agent.ChatService.GetStreamingChatResponseAsync(Stringinput, CancellationToken cancellationToken) atSpectre.Console.Status.<>c__DisplayClass17_0`1.<<StartAsync>b__0>d.MoveNext() in/_/src/Spectre.Console/Live/Status/Status.cs:line 120--- End of stack trace from previous location --- atSpectre.Console.Progress.<>c__DisplayClass28_0`1.<<StartAsync>b__0>d.MoveNext()in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 133--- End of stack trace from previous location --- at Spectre.Console.Internal.DefaultExclusivityMode.RunAsync[T](Func`1 func) in/_/src/Spectre.Console/Internal/DefaultExclusivityMode.cs:line 40 at Spectre.Console.Progress.StartAsync[T](Func`2 action) in/_/src/Spectre.Console/Live/Progress/Progress.cs:line 116 at Spectre.Console.Status.StartAsync[T](String status, Func`2 func) in/_/src/Spectre.Console/Live/Status/Status.cs:line 117 at AIShell.Kernel.Host.RunWithSpinnerAsync[T](Func`1 func, String status,Nullable`1 spinnerKind) at AIShell.OpenAI.Agent.OpenAIAgent.ChatAsync(String input, IShell shell) at AIShell.Kernel.Shell.RunREPLAsync()@openai-gpt>
Error details
"Project `proj_xXXXXxxxXXXxxxxXX` looked like an actual id, but I've no idea where that comes from.
Environment data
Name Value
---------
PSVersion 7.4.6
PSEdition Core
GitCommitId 7.4.6
OS Microsoft Windows 10.0.19045
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Version
1.0.0-preview.1
Visuals
No response
The text was updated successfully, but these errors were encountered:
Prerequisites
Steps to reproduce
Recently installed and run /agent config which opened openai.agent.json in VSCode.
Deleted comments and added a new API key generated on Openai.com for this purpose.
Config screen attached
In AIShell selected ps-gpt4o as active model
Entered the text "what can you do?"
Expected behavior
A description of the AI's abilities be returned
Actual behavior
Error details
"Project `proj_xXXXXxxxXXXxxxxXX` looked like an actual id, but I've no idea where that comes from.
Environment data
Version
1.0.0-preview.1
Visuals
No response
The text was updated successfully, but these errors were encountered: