Skip to content

Commit d23c4dc

Browse files
keep main branch behavior - dont add await
1 parent 33aef1b commit d23c4dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openhands-agent-server/openhands/agent_server/event_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
StoredConversation,
1212
)
1313
from openhands.agent_server.pub_sub import PubSub, Subscriber
14-
from openhands.sdk import LLM, Agent, AgentBase, Event, Message, get_logger
14+
from openhands.sdk import LLM, AgentBase, Event, Message, get_logger
1515
from openhands.sdk.conversation.impl.local_conversation import LocalConversation
1616
from openhands.sdk.conversation.secret_registry import SecretValue
1717
from openhands.sdk.conversation.state import (
@@ -606,7 +606,7 @@ async def close(self):
606606
await self._pub_sub.close()
607607
if self._conversation:
608608
loop = asyncio.get_running_loop()
609-
await loop.run_in_executor(None, self._conversation.close)
609+
loop.run_in_executor(None, self._conversation.close)
610610

611611
async def generate_title(
612612
self, llm: "LLM | None" = None, max_length: int = 50

0 commit comments

Comments
 (0)