runtime error
in <module> from config import DSN, logger File "/app/config.py", line 232, in <module> vector_store = get_vector_store( File "/app/store_factory.py", line 20, in get_vector_store return AsyncPgVector( File "/usr/local/lib/python3.10/site-packages/langchain_core/_api/deprecation.py", line 183, in warn_if_direct_instance return wrapped(self, *args, **kwargs) File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 316, in __init__ self._bind = connection if connection else self._create_engine() File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 367, in _create_engine return sqlalchemy.create_engine(url=self.connection_string, **self.engine_args) File "<string>", line 2, in create_engine File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/deprecations.py", line 281, in warned return fn(*args, **kwargs) # type: ignore[no-any-return] File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 546, in create_engine u = _url.make_url(url) File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/url.py", line 842, in make_url return _parse_url(name_or_url) File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/url.py", line 905, in _parse_url return URL.create(name, **components) # type: ignore File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/url.py", line 211, in create cls._assert_port(port), File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/url.py", line 221, in _assert_port return int(port) ValueError: invalid literal for int() with base 10: '' Exception ignored in: <function PGVector.__del__ at 0x7f4419300310> Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 359, in __del__ if isinstance(self._bind, sqlalchemy.engine.Connection): AttributeError: 'AsyncPgVector' object has no attribute '_bind'
Container logs:
Fetching error logs...