langchain icon indicating copy to clipboard operation
langchain copied to clipboard

fix: incorrect data type when construct_path in chain

Open Undertone0809 opened this issue 1 year ago • 0 comments

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.

Undertone0809 avatar May 03 '23 08:05 Undertone0809