Amer Amayreh

Results 3 comments of Amer Amayreh

I have fixed this by temporary set the parent's min-height to its offsetHeight before adding the measuring class: ```typescript const previousParentMinHeight = element.parentElement.style.minHeight; element.parentElement.style.minHeight = `${element.parentElement.offsetHeight}px`; // Reset the textarea...

I have fixed this by temporary set the parent's min-height to its offsetHeight before adding the measuring class: ```typescript const previousParentMinHeight = element.parentElement.style.minHeight; element.parentElement.style.minHeight = `${element.parentElement.offsetHeight}px`; // Reset the textarea...

> sample solve way: > async def _achat_completion_stream(self, messages: list[dict]) -> str: > # response = await openai.ChatCompletion.acreate(**self._cons_kwargs(messages), stream=True) > while True: > try: > response = await openai.ChatCompletion.acreate( >...