Add OpenClaw skills, platform kit, and template docs

Made-with: Cursor
This commit is contained in:
2026-04-04 10:35:02 +08:00
parent e37b03c00f
commit 35f4758da2
83 changed files with 8971 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
from abc import ABC, abstractmethod
from playwright.async_api import Page
class BaseEngine(ABC):
def __init__(self, page: Page):
self.page = page
@abstractmethod
async def generate(self, prompt: str) -> str:
"""
基于操作页面的具体大模型的生成逻辑。输入文本,抓取并返回文本。
返回值:正常结果字符串,或以 "ERROR:" 开头的错误描述。
"""
pass