PowerShell / AIShell

An interactive shell to work with AI-powered assistance providers
MIT License
68 stars 19 forks source link

Unable to ask a question, getting a object reference not found #290

Closed maikvandergaag closed 6 days ago

maikvandergaag commented 6 days ago

Prerequisites

Steps to reproduce

When asking a question to the azure agent we get the below response:

image

Expected behavior

Answer to my question

Actual behavior

Getting a error

Error details

See screenshot included in the description

Environment data

PSVersion                      7.4.6
PSEdition                      Core
GitCommitId                    7.4.6
OS                             Microsoft Windows 10.0.26120
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Using AIShell MVP Build version

Version

MVP Build

Visuals

No response

daxian-dbw commented 6 days ago

@maikvandergaag Thanks for reporting the issue!

maikvandergaag commented 6 days ago

No problem. Do I need to install / download a new version to check it out further

daxian-dbw commented 6 days ago

The error response from Azure Copilot is out of our control, but I think I fixed the null reference exception (also added a telemetry when receiving an error response). To get a newer version you will need to clone the repo and build AIShell from the main branch. If you could do that, that'd awesome. If not, it's okay, just keep using the version you have and report any issues that you ran into. Thank you again for your help!