TwinFinz / LocalAi_Assistant

LocalAi Assistant is a simplistic UI for LocalAI built using Maui
Other
3 stars 0 forks source link

win11x64 + vs2019 + .Net SDK 5.0 can't compile succeeded #1

Open wikeeyang opened 5 months ago

wikeeyang commented 5 months ago

Hi,In my environment as title can't rebuild success, I try update Nuget oackage, but a lot of Nuget error message as below: 严重性 代码 说明 项目 文件 行 禁止显示状态 错误 NU1202 包 CommunityToolkit.Maui 8.0.1 与 net5.0 (.NETCoreApp,Version=v5.0) 不兼容。 包 CommunityToolkit.Maui 8.0.1 支持:

and, may be region was restricted, I can't install your app from windows app store, then could you please release a executable file as the apk package, I very interested in this project, much thanks!

wikeeyang commented 5 months ago

due to I very interested in the LocalAI project: https://github.com/mudler/LocalAI yet, and want try a simple and can customizable UI, thanks...

wikeeyang commented 5 months ago

I install VS 2022, and comment all android compile, but also a lot of error, please help me to check what missing? 2024-04-17_151259 2024-04-17_151345 2024-04-17_151725 2024-04-17_151826

TwinFinz commented 5 months ago

For some weird reason you must have android and windows enabled to compile this. I am guessing due to it being maui based. But I can give you the latest build in apk or the windows format but to install using the windows format you must have developer mode enabled in windows since it is not from the store. I just have not had a chance yet to push the latest versions. If you have the csproj file in the correct location and all the required libraries installed using nuget it will compile correctly for both Android and windows.

On Wed, Apr 17, 2024, 3:23 AM wikeeyang @.***> wrote:

I install VS 2022, and comment all android compile, but also a lot of error, please help me to check what missing? 2024-04-17_151259.jpg (view on web) https://github.com/TwinFinz/LocalAi_Assistant/assets/131220899/fb9f33b4-aec5-4951-91c4-6697ef40f367 2024-04-17_151345.jpg (view on web) https://github.com/TwinFinz/LocalAi_Assistant/assets/131220899/a942a759-73a0-40e2-a44a-95d6f93b162b 2024-04-17_151725.jpg (view on web) https://github.com/TwinFinz/LocalAi_Assistant/assets/131220899/2158816c-58c1-4823-95be-cfc328bbbccf 2024-04-17_151826.jpg (view on web) https://github.com/TwinFinz/LocalAi_Assistant/assets/131220899/bc8913cb-ba9d-45b5-a8d7-1fc2bd6e7ef9

— Reply to this email directly, view it on GitHub https://github.com/TwinFinz/LocalAi_Assistant/issues/1#issuecomment-2060557513, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANWC6P447QXMPYQRRASZ5HTY5YPOHAVCNFSM6AAAAABGKPXSDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRQGU2TONJRGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

wikeeyang commented 5 months ago

Thanks a lot! Follow your suggestion i compile and build you project success! download a lot of android's dependency packages, plus VS 2002, about use over 50GB storges. to try you app, can set host address and API key,but i don't find model select function, then app can't choice LocalAI's LLM model?

TwinFinz commented 5 months ago

Glad you got it to compile. I am not sure why it won't let it compile for windows correctly without android enabled. Altho once you enter the correct server address the available models should show on the list. I personally use this with localAi so I know it does work with it. Remember to check you are not using "https" if your server is "http" as this will cause models to not show as it is an incorrect url

On Thu, Apr 18, 2024, 1:37 AM wikeeyang @.***> wrote:

Thanks a lot! Follow your suggestion i compile and build you project success! download a lot of android's dependency packages, plus VS 2002, about use over 50GB storges. to try you app, can set host address and API key,but i don't find model select function, then app can't choice LocalAI's LLM model?

— Reply to this email directly, view it on GitHub https://github.com/TwinFinz/LocalAi_Assistant/issues/1#issuecomment-2063038273, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANWC6P7KO7W35VTD5LQD7OLY55LZBAVCNFSM6AAAAABGKPXSDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRTGAZTQMRXGM . You are receiving this because you commented.Message ID: @.***>

wikeeyang commented 5 months ago

Much thanks for your help on time! and i will try more, due to the first use MAUI for web app, i will read the source code and to understand the your AIAPI, think a lot again!