ParisNeo / lollms-webui

Lord of Large Language Models Web User Interface
https://lollms.com
Apache License 2.0
4.27k stars 537 forks source link

Error while installing Open Router via webui #456

Open d13g4 opened 9 months ago

d13g4 commented 9 months ago

Expected Behavior

Installing Open Router

Current Behavior

Throwing error and not installing.

Steps to Reproduce

Fresh install of lollms-webui via git: Install open Router via webui.

Possible Solution

Fixing the keyword error. Probably strongly related to #454

Context

Couldn't build binding: [LoLLMsCom.error() got an unexpected keyword argument 'notification_type'] Traceback (most recent call last): File "/home/diemo/lollms-webui/app.py", line 1646, in install_binding self.binding = BindingBuilder().build_binding(self.config, self.lollms_paths, lollmsCom=self) File "/home/diemo/lollms-webui/lollms_core/lollms/binding.py", line 552, in build_binding return binding( File "/home/diemo/lollms-webui/zoos/bindings_zoo/c_transformers/init.py", line 86, in init super().init( File "/home/diemo/lollms-webui/lollms_core/lollms/binding.py", line 90, in init self.install() File "/home/diemo/lollms-webui/zoos/bindings_zoo/c_transformers/init.py", line 320, in install self.notify("Installed successfully") File "/home/diemo/lollms-webui/lollms_core/lollms/binding.py", line 142, in notify return self.lollmsCom.error(content=content, notification_type=notification_type, duration=duration, client_id=client_id, display_type=display_type, verbose=verbose) TypeError: LoLLMsCom.error() got an unexpected keyword argument 'notification_type'