This commit modifies the OpenAI host configuration to support customization through an environment variable. This change is particularly useful in scenarios where access to the official OpenAI host is restricted or unavailable, allowing users to configure an alternative host for their specific needs.
* use tiktoken for api limit
* model conditional char limits on frontend
* adjust for completion tokens
---------
Co-authored-by: Alan Pogrebinschi <alanpog@gmail.com>
* mobile ui updates
* fixes sidebar btn
* return if null
* mobile input blur
* handle mobile enter key
* new convo name
* new delete mechanism
* test height
* revert
* change padding
* remove overflow
* check relative
* padding
* done
* retry
* test
* test
* should work now
* test
* test
* more
* max h
* revert
* done