- Issue created by @torfj
- Merge request !460convert NULL to an empty string before calling str_replace() → (Merged) created by torfj
- 🇺🇸United States torfj Seattle, WA
I am a MR with the changes that will convert NULL to an empty string before calling str_replace().
- 🇬🇧United Kingdom MrDaleSmith
I'm not sure that's the way to go: if the $this->prePrompt() is empty you're just going to get the same error: it might be better if we check if the values exist before passing them to str_replace()?
- First commit to issue fork.
- 🇮🇳India annmarysruthy
Reviewed the MR !460. The error message could not be replicated after the changes in MR. AI Assistant is also working fine.
- First commit to issue fork.
- 🇨🇦Canada RobLoach Earth
Worked well here. I added a small tweak so that it doesn't call
prePrompt()
twice. This applies to both 1.1.x and 1.0.x. Automatically closed - issue fixed for 2 weeks with no activity.