anything-llm icon indicating copy to clipboard operation
anything-llm copied to clipboard

fix: fix genericOpenAi null exception(#3273)

Open qigaode opened this issue 10 months ago • 0 comments

Pull Request Type

  • [ ] ✨ feat
  • [x] 🐛 fix
  • [ ] ♻️ refactor
  • [ ] 💄 style
  • [ ] 🔨 chore
  • [ ] 📝 docs

Relevant Issues

resolves #3273

What is in this change?

fix null exception LLM processing failed: Cannot read properties of null (reading 'length') TypeError: Cannot read properties of null (reading 'length')

Additional Information

Developer Validations

  • [x] I ran yarn lint from the root of the repo & committed changes
  • [x] Relevant documentation has been updated
  • [x] I have tested my code functionality
  • [x] Docker build succeeds locally

qigaode avatar Feb 19 '25 09:02 qigaode