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