langchain
langchain copied to clipboard
fix: incorrect data type when construct_path in chain
A incorrect data type error happened when executing _construct_path in chain.py
as follows:
Error with message replace() argument 2 must be str, not int
The path is always a string. But the result of args.pop(param, "")
is undefined.