
Keychain issue on Windows when adding LLM Provider
So I'm trying to set up a very simple agent with the model running using llama-server but I keep running into this "Failed to write API key to keychain" error every single time.
I tried adding the keys in system environment variables (OPENAI_API_KEY, AMAZING_LOCAL_PROVIDER_API_KEY) but none of them seem to bypass that error. I configured the prediction part which is picking up the API Key properly but it doesn't predict anything, the requests don't actually seem to reach the server.
I verified the server is working fine by heading to localhost:8080 and chatting there.
Here's the command for llama-server if that's relevant
.\llama-server.exe -m "C:\Misc\Models\Ornith-1.0-9B-MTP-Q4_K_M.gguf" --n-gpu-layers 99 --ctx-size 8192 --flash-attn on --jinja --spec-type draft-mtp --spec-draft-n-max 3
I tried with Ollama and that's working fine, but I am more interested in running it via OpenAI Compatible API.
The checkboxes checked (cropped in the image) are Supports tools and Supports thinking. Tried unchecking and stuff but no dice.
RESOVLED: Credential Manager hit a limit in the no. of credentials it can store. Deleted one old useless cred and tried it again, works fine now.