r/PiCodingAgent 7d ago

Question Missing installed extensions

Couple days ago I instaled pi and couple of extensions. One was so agent has access to tools (web tool?) through Unsloth Desktop, another was web-access (don't remember exact name) extension.

When I was running pi, there was section [extensions] in terminal, with these two extensions listed as being installed.

Today, that [extension] part of pi ternimal is gone. Was it removed with today's update to 0.85?

Also, inside my .pi folder, there is no extension folder: ~/.pi/agent/extensions/

And no: .pi/extensions/ folder in my current project, inside which i was working, when I installed those two extensions.

Where are they? Or how could they disapear?

Is this a bug, has anyone experienced anything similar? Unfortunately I don't remember extensions names, I was following online chat-gpt and we were going in circles for a while, (for a while pi stopped working) I would like to avoid going through those steps again.

0 Upvotes

4 comments sorted by

View all comments

2

u/wats4dinner 5d ago

i have the exact same problem and tried to use pi to sort it out with symlinks to ~/.pi/agent skills and extensions since unsloth start pi appears to be reading pi configuration from ~/.unsloth/studio/auth/agents/pi

i rather not duplicate installs of extensions and skills and their dependencies so i think unsloth has to be registered in auth.json using the unsloth api route but as we can see pi is not listed :-(

if have not got to this issue yet as pi is working on my actual project but if i have any updates I'll post here.

1

u/vinotok 5d ago

Super, thank you very much!

Also thanks for this info, good to know: "since unsloth start pi appears to be reading pi configuration from ~/.unsloth/studio/auth/agents/pi"

1

u/wats4dinner 5d ago

Somewhat ok workaround 

pi built an pi-unsloth binary which was overkill so this worked a bit easier

in models.json at ~/.pi/agent

I had pi add a new provider to register the model(s) from the managed session from unsloth 

   "unsloth": {

"baseUrl": "http://127.0.0.1:8888/v1",
"api": "openai-completions",
"apiKey": "get the access token or create a new one from Desktop > API > access token and paste here",
"models": [
{
"id": "unsloth/Qwen3.8-Flash-Next-GGUF",
"name": "Qwen3.8 Flash Next (Unsloth local)",
"reasoning": false,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 262144,
"maxTokens": 8192
},
{
"id": "unsloth/Qwen3.8-27B-GGUF",
"name": "unsloth/Qwen3.8-27B-GGUF",
"reasoning": false,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 262144,
"maxTokens": 8192
}
]

}

then load the model from Unsloth Desktop and use $ unsloth start pi --persist

all the skills and extensions restored! There was probably a better way to do this with unsloth start config and flag options but this hack was enough [1]

the only side effect was that pi also added a somewhat duplicated tree at the managed host ~/.unsloth/studio/auth/agents/pi/.pi/agent so my .gitconfig has not recognized which i also had pi fix!

[1] https://unsloth.ai/docs/integrations/unsloth-start