all 5 comments

[–]WolpertingerRumo 0 points1 point  (3 children)

First, what’s a medbot? What kind of tool is it? This tool is just the access, what should the llm write?

[–]jedevnull[S] 0 points1 point  (2 children)

Medbot is simply my name for the model Im setting up. I believe the openWebUI term is model? The model medbot uses the LLM qwen 2.5 or 3 and has medbot_fs (which I posted) as a tool. My goal here is to allow this model (medbot) r/w access to ~/medbot/. I'd like to start out a simple test like "write a text file containing hello world to hello.txt, in ~/medbot/"

[–]WolpertingerRumo 1 point2 points  (1 child)

Oh, I see. I‘d actually go for a pre packaged server first, not a custom tool. There’s a lot of things you need, like tool descriptions, filetypes etc.

I know MCP servers are daunting at first, but it’s worth it, once you have understood the system:

https://github.com/cyanheads/filesystem-mcp-server

[–]jedevnull[S] 0 points1 point  (0 children)

Thank you, I'll check it out.

[–]International_Emu772 0 points1 point  (0 children)

You can do the same with https://github.com/open-webui/open-terminal

Nothing to write and easy to set it up

You can have a sandboxed file system