Make client examples workspaces to reflect package code (#1466)

This commit is contained in:
Luca Chang 2025-10-17 09:13:39 -07:00 • committed by GitHub
commit c733eec5d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -401,7 +401,7 @@ class ChatSession:
await self.cleanup_servers()
async def main() -> None:
async def run() -> None:
"""Initialize and run the chat session."""
config = Configuration()
server_config = config.load_config("servers_config.json")
@ -411,5 +411,9 @@ async def main() -> None:
await chat_session.start()
def main() -> None:
asyncio.run(run())
if __name__ == "__main__":
asyncio.run(main())
main()