langchain
langchain copied to clipboard
fix: kwargs.pop("redis_url") KeyError: 'redis_url'
This occurred when redis_url was not passed as a parameter even though a REDIS_URL env variable was present. This occurred for all methods that eventually called any of: (from_texts, drop_index, from_existing_index) - i.e. virtually all methods in the class. This fixes it