Help needed getting posit assistant working again

Hi Everyone, I was wondering if there is someone in the community that could help me get posit assistant working again on my Mac. I have been experimenting with custom models at different levels on my Mac and at some point posit assistant stopped working. It is showing an empty window, or a chat with no models. I tried reinstalling positron and also manually deleting .positassistant folders, but nothing seems to work. I also have an enthropic key that cannot be deleted. I'm affraid I messed something up and am not able to solve it on my own :frowning:

Hey! I'm so sorry that you're running into issues. Did you try deleting the Positron state before reinstalling? Troubleshooting – Positron

If not, could you give that a shot, please?

Hi @ivelasq3 I indeed tried that. Logging into GitHub copilot lets me go through the authentication steps but then lands an error in positron: Failed to sign in to GitHub.

I just read this post GitHub Copilot OAuth sign-in fails in Positron 2026.09.1 build 2 on macOS arm64; VS Code succeeds, including with a clean Positron profile · Issue #16069 · posit-dev/positron · GitHub and was able to connect to GitHub after a complete reinstall per your instructions, but am still not able to select any model. At one point I got the following error in positron assistant: Cannot read properties of undefined (reading 'startsWith')

@ivelasq3 Hi, I also tried deleting the state and reinstalling. Github says "Congratulations, you're all set up" but Positron says "Failed to sign in to GitHub" ?

Thanks for the link. Going via the command palette and 'Configure AI Providers' worked !

I found the culprit. I have opencode installed, which is using a custom anthropic key as an environmental variable in /Users/me/.zshrc. Where "export ANTHROPIC_API_KEY" is set. This was the anthropic key positron was showing under my account icon (bottom left) that I could not delete. I opened the .zshrc file and commented out the export of the PATH, ANTROPIC_BASE_URL, ANTHROPIC_API_KEY and ANTHROPIC_DEFAULT_SONNET_MODEL. After restarting positron, I can now select the models (Github copilot, custom foundry models and local models) again in posit assistant.

@ivelasq3 , is this a bug? I would like to be able to use both. Is there a work around for this? Maybe something with the priority of model availability in positron?