When attempting to modify an existing AI agent, clicking the cog to edit properties, then choosing a new credential within the popup and hitting 'save' I get the error "An AI agent with the name '<agentname>' already exists."
There's no other agents with the same name, it appears to be complaining about itself like it's trying to insert rather than update.
Hello,
I need a few details from you.
1. Is there anything else in PowerShell Universal with the same name as this agent, even of another type, such as a variable, a script or an AI tool?
2. Is Git synchronization configured on this instance, and do you run more than one PowerShell Universal server against the same database?
3. Does the error still appear if you refresh the browser page and try the edit once more?
4. Could you send the system log covering the time of the error? On Windows it is in C:\ProgramData\PowerShellUniversal\Logs\System by default.
Once I have this, I will continue the investigation with our team.
Best regards,
Carl Marien
I have two way sync enabled where I had the issue, nothing else is named the same. Only one node.
However since I raised this, the server has been rebooted, and there's been various other changes... Oddly, I'm no longer able to replicate this issue so the thread can be closed for now, if it appears again, I'll raise another bug and capture the logs.
Hello,
Thank you for letting me know. Since the error no longer appears after the reboot, I will close this request as you suggested.
If it comes back, please open a new request and attach the system log covering the time of the error, and we will pick it up from there.
Best regards,
Carl Marien