ParisNeo / lollms

Lord of LLMS
Apache License 2.0
270 stars 51 forks source link

message type note defined when generating from cursor. #28

Open Gabriel-Gebril opened 2 months ago

Gabriel-Gebril commented 2 months ago

In lollms_generation_events.py located in lollms-webui\lollms_core\lollms\server\events ", MSG_OPERATION_TYPE" must be appended on line 18 for the playground to generate text from cursor position. I also removed type checking on message_type (which might be unsafe but was required to get the playground to work).