Find answers from the community

Updated 2 months ago

@Logan M Hey there, having an issue with

Hey there, having an issue with Claude 3 where in:
/core/chat_engine/types.py
Plain Text
            if not self._aqueue.empty() or not self._is_done:
                try:
                    delta = await asyncio.wait_for(self._aqueue.get(), timeout=0.1)
                except asyncio.TimeoutError:
                    if self._is_done:
                        break
                    continue
                self._unformatted_response += delta
                yield delta

at line
self._unformatted_response += delta
delta is None causing the generator to throw

Can I add a if !None to this to fix it? Have you ran into this at all?
Add a reply
Sign up and join the conversation on Discord