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
{{ message }}
Repository navigation
馃悶 Installation issue - Unable to recognize internal command聽#7
I was able to complete the installation, or so I thought. To sanity check. I performed the command shown in the readme.
# q print my local ip
New-OpenAIChat : The term 'New-OpenAIChat' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At C:\Program Files\WindowsPowerShell\Modules\PShell-AI\0.2.3\Public\q.ps1:18 char:57
+ ... t = New-Agent -Instructions $instructions -LLM(New-OpenAIChat -model ...
+ ~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (New-OpenAIChat:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Get-AgentResponse : The term 'Get-AgentResponse' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At C:\Program Files\WindowsPowerShell\Modules\PShell-AI\0.2.3\Public\q.ps1:21 char:35
+ $agentResponse = $agent | Get-AgentResponse $prompt
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-AgentResponse:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Follow up, Enter to copy & quit, Ctrl+C to quit.
> :
The script was install in admin mode.
The query was run in both admin and user mode.
Activity
dfinke commentedon Nov 2, 2024
Looks like the required module
PSAIdid not get installed.the-mentor commentedon Nov 25, 2024
@schaveyt did installing the PSAI module solve your issue ?
Install-Module PSAI