[Bug] Cannot read properties of undefined (reading 'text')
cikichen opened this issue · comments
💻 系统环境 | Operating System
Mac
🌐 CLI 版本 | CLI Version
2.14.0
🐛 问题描述 | Bug Description
ERROR Cannot read properties of undefined (reading 'text') 17:16:34
at NoOpOutputParser.parseResult (/Users/xx/.nvm/versions/node/v18.18.2/lib/node_modules/@lobehub/commit-cli/node_modules/@langchain/core/dist/output_parsers/base.js:50:42)
at NoOpOutputParser.parseResultWithPrompt (/Users/xx/.nvm/versions/node/v18.18.2/lib/node_modules/@lobehub/commit-cli/node_modules/@langchain/core/dist/output_parsers/base.js:17:21)
at LLMChain._getFinalOutput (/Users/xx/.nvm/versions/node/v18.18.2/lib/node_modules/@lobehub/commit-cli/node_modules/langchain/dist/chains/llm_chain.js:121:55)
at LLMChain._call (/Users/xx/.nvm/versions/node/v18.18.2/lib/node_modules/@lobehub/commit-cli/node_modules/langchain/dist/chains/llm_chain.js:156:46)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async LLMChain.call (/Users/xx/.nvm/versions/node/v18.18.2/lib/node_modules/@lobehub/commit-cli/node_modules/langchain/dist/chains/base.js:117:28)
at async Promise.all (index 0)
at async MapReduceDocumentsChain._call (/Users/xx/.nvm/versions/node/v18.18.2/lib/node_modules/@lobehub/commit-cli/node_modules/langchain/dist/chains/combine_docs_chain.js:184:29)
at async MapReduceDocumentsChain.call (/Users/xx/.nvm/versions/node/v18.18.2/lib/node_modules/@lobehub/commit-cli/node_modules/langchain/dist/chains/base.js:117:28)
at async xt.genSummary (/Users/xx/.nvm/versions/node/v18.18.2/lib/node_modules/@lobehub/commit-cli/dist/cli.js:8:1592)
🚦 期望结果 | Expected Behavior
No response
📷 复现步骤 | Recurrence Steps
No response
📝 补充信息 | Additional Information
No response
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
👋 @{{ github.event.issue.user.login }}
Since the issue was labeled with 🤔 Need Reproduce
, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要更多信息,却 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复。
This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。
当提交的文件比较大的时候必现
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
It will appear when the submitted file is relatively large.