support gen title for conversation; add authorization config to avoid Max retries exceeded with url: /api/auth/session when debugging.
In this PR, about two issues:
I found every time I send new message, it created new conversation without title, which is really not confortable to list all the conversations. So I add the gen title request for it.
When I am debugging locally, I always met the error like:
Max retries exceeded with url: /api/auth/session (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:992)'))).
I guess it may be caused by that I restarted frequently when I debug the program, and each time when the program started, it would call /api/auth/session which hit the limit of ChatGPT. So I add the authorization to the config to avoid this case.
support gen title for conversation; add authorization config to avoid Max retries exceeded with url: /api/auth/session when debugging.
In this PR, about two issues:
Max retries exceeded with url: /api/auth/session (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:992)')))
. I guess it may be caused by that I restarted frequently when I debug the program, and each time when the program started, it would call /api/auth/session which hit the limit of ChatGPT. So I add the authorization to the config to avoid this case.