jorge-menjivar / unsaged

Open source chat kit engineered for seamless interaction with AI models.

Home Page:https://unsaged.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when DEFAULT_MODEL not defined in .env.local and running locally

johnbrownlow opened this issue · comments

Title says it all. The readme says it defaults to GPT-3.5-Turbo but in my case it threw an error. When I defined it explicitly it worked fine.

Error: Error serializing .defaultModelId returned from getServerSideProps in "/".
Reason: undefined cannot be serialized as JSON. Please use null or omit this value.

Should be fixed now by #17