langchainjs icon indicating copy to clipboard operation
langchainjs copied to clipboard

RangeError: Maximum call stack size exceeded

Open hiroshinishio opened this issue 1 year ago • 1 comments

This occurs when I do a GithubRepoLoader for this repository and use RecursiveCharacterTextSplitter. Is there a countermeasure?

hiroshinishio avatar Apr 19 '23 12:04 hiroshinishio

Are you able to share a code snippet that produced this error?

nfcampos avatar Apr 20 '23 10:04 nfcampos

it happend to me when i use RecursiveCharacterTextSplitter in the nextjs api here's the error, and also the text above it, is the example text image

haouarihk avatar May 27 '23 16:05 haouarihk

Hey @hiroshinishio and @haouarihk, we just pushed a refactor of the recursive splitter - going to close for now but can you please reopen if you see this again?

jacoblee93 avatar May 31 '23 17:05 jacoblee93