DevXT-LLC / ezlocalai

ezlocalai is an easy to set up local artificial intelligence server with OpenAI Style Endpoints.
MIT License
66 stars 12 forks source link

fix: get message content correctly #4

Closed mja00 closed 7 months ago

mja00 commented 7 months ago

This fixes #3 by getting the message content properly. If for some reason there is no content key it will default to a blank string as to not break due to a KeyError or AttributeError.

Josh-XT commented 7 months ago

Sorry I didn't see that you also did this PR! I just updated it with a fix.

mja00 commented 7 months ago

Lol no worries!