Jeffser / Alpaca

🦙 An Ollama client made with GTK4 and Adwaita
https://jeffser.com/alpaca
GNU General Public License v3.0
449 stars 46 forks source link

external instance doesn't work #355

Open loulou64490 opened 1 month ago

loulou64490 commented 1 month ago

Describe the bug Alpaca detect downloaded model but doesn't display the model selector, the model details button doesn't work and Alpaca crash when I try installing model

Expected behavior External instance work

Screenshots Capture vidéo du 2024-10-16 23-33-53.webm

Debugging information

INFO    [main.py | main] Alpaca version: 2.6.5
INFO    [connection_handler.py | request] GET : http://127.0.0.1:11434//api/tags
INFO    [connection_handler.py | request] POST : http://127.0.0.1:11434//api/show
ERROR   [model_widget.py | add_model] Status code was 404
Traceback (most recent call last):
  File "/app/share/Alpaca/alpaca/custom_widgets/model_widget.py", line 357, in show_information
    model_name = model.get_child().get_label()
                 ^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_child'
Traceback (most recent call last):
  File "/app/share/Alpaca/alpaca/custom_widgets/model_widget.py", line 357, in show_information
    model_name = model.get_child().get_label()
                 ^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_child'
Traceback (most recent call last):
  File "/app/share/Alpaca/alpaca/custom_widgets/model_widget.py", line 357, in show_information
    model_name = model.get_child().get_label()
                 ^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_child'
INFO    [model_widget.py | pull_model] Pulling model: qwen2.5:0.5b
INFO    [connection_handler.py | request] POST : http://127.0.0.1:11434//api/pull
INFO    [window.py | show_toast] Erreur lors du téléchargement de 'qwen2.5:0.5b'
ERROR   [window.py | connection_error] Connection error
INFO    [connection_handler.py | request] GET : http://127.0.0.1:11434//api/tags
INFO    [connection_handler.py | request] POST : http://127.0.0.1:11434//api/show
ERROR   [model_widget.py | add_model] Status code was 404
**
Adwaita:ERROR:../src/adw-dialog-host.c:164:dialog_closing_cb: assertion failed: (g_ptr_array_find (self->dialogs, dialog, &index))
Bail out! Adwaita:ERROR:../src/adw-dialog-host.c:164:dialog_closing_cb: assertion failed: (g_ptr_array_find (self->dialogs, dialog, &index))