r/PiCodingAgent • • Oct 04 '26

Question loggin to unsloth ?

I understand I should be able to login to a local installation of "Unsloth Studio" from pi.dev using

/login llama.cpp

When I try with "http://localhost:8888", I get:

Error: Failed to save API key for llama.cpp: llama.cpp returned HTTP 404Error: Failed to save API key for llama.cpp: llama.cpp returned HTTP 404

I can see in the logs, that it tried to access "/models" instead of "/v1/models"

If I login with "http://localhost:8888/v1", it tries to access "/models" again

If I login with "http://localhost:8888/v1/models", it tries to access: "/v1/models/models" ..!

Did I miss something?

Note: it works well if I use models.json, but I'd like pi.dev to find the models from Unsloth automatically

thanks!

0 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/vinotok Oct 08 '26

Not im my case. Whatever is set in Unsloth desktop, gets transfered over to Pi. I choose contenxt size in Unsloth. And everything else.

2

u/No_bonk95 Oct 08 '26

i reported those issue last 2 week, they might have patched the issue. You can check if Pi is using a temp config.json or the original json in pi/agent.

1

u/vinotok Oct 08 '26

Thanks for reporting it! There was another issue, Unsloth didn't see Pi extensions. They fixed this as well.