import asyncio import logging from core.gemini_cli_executor import execute logging.basicConfig(level=logging.DEBUG) async def test(): # Тестовый промпт resp = await execute(mode="console", message="Say hi", prompt_text="You are a helpful assistant", timeout=10) assert isinstance(resp, str) and len(resp) > 0, f"Пустой ответ: {resp}" print(f"✅ PROMPT PARITY OK: {resp[:50]}") return True asyncio.run(test())