Snap package support #302
Replies: 4 comments 2 replies
-
Hi, i have one question. How your program commuicate with ollama, through http request? Do we need run |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
One more issue, downloaded models through gui didn't show in cli results. I found models are store in ~/snap/alpaca/current/.local/share/com.jeffser.Alpaca/.ollama/, which is not the default path for ollama, may be the key. |
Beta Was this translation helpful? Give feedback.
-
thanks for your help! |
Beta Was this translation helpful? Give feedback.
-
Hi, 👋
I took a quick look at your snapcraft.yaml.
Desktop app needs a special meta param called 'desktop' , see here
Also you need to specify the Icon file, put it under snap/gui/ directory. File structure will like this:
$ tree .
snap
|
|
For better cli experiences, i suggest you add one more entry under apps in snapcraft.yaml , called ollama, to expose the ollama cli .
After that, you can run it from the terminal, like this $ alpaca.ollama run llama3.1
I'll continue with the rest and if I have time, then will test and submit a PR.
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions