langchain-ai / langchain

🦜🔗 Build context-aware reasoning applications
https://python.langchain.com
MIT License
84.76k stars 13.09k forks source link

Catch System Error in ast parse #20961

Closed hinthornw closed 2 weeks ago

hinthornw commented 2 weeks ago

I can't seem to reproduce, but i got this:

SystemError: AST constructor recursion depth mismatch (before=102, after=37)

And the operation isn't critical for the actual forward pass so seems preferable to expand our caught exceptions

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Updated (UTC) | | :--- | :----- | :------ | :------ | | **langchain** | ⬜️ Ignored ([Inspect](https://vercel.com/langchain/langchain/88qyHoy159UGPcjgwQdYwwbzFnkN)) | | Apr 27, 2024 1:18am |