You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
127.0.0.1 - - [05/Jan/2024 14:01:07] "GET / HTTP/1.1" 500 -
Traceback (most recent call last):
File "c:\Users\Damian\Develope\Python\Llm\PROTON\venv\lib\site-packages\flask\app.py", line 1478, in call
return self.wsgi_app(environ, start_response)
File "c:\Users\Damian\Develope\Python\Llm\PROTON\venv\lib\site-packages\flask\app.py", line 1458, in wsgi_app
response = self.handle_exception(e)
File "c:\Users\Damian\Develope\Python\Llm\PROTON\venv\lib\site-packages\flask\app.py", line 1455, in wsgi_app
response = self.full_dispatch_request()
File "c:\Users\Damian\Develope\Python\Llm\PROTON\venv\lib\site-packages\flask\app.py", line 869, in full_dispatch_request
rv = self.handle_user_exception(e)
File "c:\Users\Damian\Develope\Python\Llm\PROTON\venv\lib\site-packages\flask\app.py", line 865, in full_dispatch_request
rv = self.preprocess_request()
File "c:\Users\Damian\Develope\Python\Llm\PROTON\venv\lib\site-packages\flask\app.py", line 1239, in preprocess_request
rv = self.ensure_sync(before_func)()
File "C:\Users\Damian\Develope\Python\Llm\PROTON\FlaskLangchain\flask_langchain\extension.py", line 226, in before_request
langchain_conversation_id = self._create_new_conversation_id() File "C:\Users\Damian\Develope\Python\Llm\PROTON\FlaskLangchain\flask_langchain\extension.py", line 270, in _create_new_conversation_id
raise Exception("langchain_user_id is not set")
Exception: langchain_user_id is not set
The text was updated successfully, but these errors were encountered:
When using the example of provides, I get the following exception with the error, here:
@app.route('/')
def index():
--> langchain_memory.set_user_id("abc123")
return "Hello, World!"
127.0.0.1 - - [05/Jan/2024 14:01:07] "GET / HTTP/1.1" 500 -
Traceback (most recent call last):
File "c:\Users\Damian\Develope\Python\Llm\PROTON\venv\lib\site-packages\flask\app.py", line 1478, in call
return self.wsgi_app(environ, start_response)
File "c:\Users\Damian\Develope\Python\Llm\PROTON\venv\lib\site-packages\flask\app.py", line 1458, in wsgi_app
response = self.handle_exception(e)
File "c:\Users\Damian\Develope\Python\Llm\PROTON\venv\lib\site-packages\flask\app.py", line 1455, in wsgi_app
response = self.full_dispatch_request()
File "c:\Users\Damian\Develope\Python\Llm\PROTON\venv\lib\site-packages\flask\app.py", line 869, in full_dispatch_request
rv = self.handle_user_exception(e)
File "c:\Users\Damian\Develope\Python\Llm\PROTON\venv\lib\site-packages\flask\app.py", line 865, in full_dispatch_request
rv = self.preprocess_request()
File "c:\Users\Damian\Develope\Python\Llm\PROTON\venv\lib\site-packages\flask\app.py", line 1239, in preprocess_request
rv = self.ensure_sync(before_func)()
File "C:\Users\Damian\Develope\Python\Llm\PROTON\FlaskLangchain\flask_langchain\extension.py", line 226, in before_request
langchain_conversation_id = self._create_new_conversation_id()
File "C:\Users\Damian\Develope\Python\Llm\PROTON\FlaskLangchain\flask_langchain\extension.py", line 270, in _create_new_conversation_id
raise Exception("langchain_user_id is not set")
Exception: langchain_user_id is not set
The text was updated successfully, but these errors were encountered: