dotneet / smart-chatbot-ui

An open source ChatGPT UI.
https://smart-chatbot-ui.vercel.app/
MIT License
471 stars 97 forks source link

Removed sync call in saving llm cost #170

Open NickLucche opened 11 months ago

NickLucche commented 11 months ago

Hey. thanks for your work maintaining this repo! More like a question, but since the change is so small I thought it'd be faster to just make a PR. Is there a reason why the llm cost indexing should be synchronous? I didn't really need that feature so bad on my own use case, and it bothered me a little bit to have that await when serving responses.

Feel free to close this if the await is actually needed to have client synchronized :D

vercel[bot] commented 11 months ago

Someone is attempting to deploy a commit to a Personal Account owned by @dotneet on Vercel.

@dotneet first needs to authorize it.