This commit is contained in:
puke
2025-10-25 19:39:13 +08:00
committed by puke
parent fe6fa4923e
commit 60918f69b1
55 changed files with 13552 additions and 0 deletions

38
reelforge/cli.py Normal file
View File

@@ -0,0 +1,38 @@
"""
ReelForge CLI
"""
import asyncio
from loguru import logger
from reelforge.app import app
async def test_llm():
"""Test LLM capability"""
# Initialize app
await app.initialize()
# Test prompt
prompt = "Explain the book 'Atomic Habits' by James Clear in 3 sentences."
logger.info(f"\n📝 Test Prompt: {prompt}\n")
# Call LLM
result = await app.router.call("llm", prompt=prompt)
logger.info(f"\n✨ Result:\n{result}\n")
def main():
"""Main CLI entry point"""
logger.info("🚀 ReelForge CLI\n")
# Run test
asyncio.run(test_llm())
if __name__ == "__main__":
main()