@yuantest/playwright - v1.2.1
    正在准备搜索索引...

    类 AgentService

    AgentService — 向后兼容类。 新代码请使用 UnifiedAIService。

    索引

    构造函数

    • 参数

      • dataDir: string
      • 可选config: Partial<AgentConfig>
      • 可选llmConfig: LLMConfig
      • 可选sharedLLMService: LLMService
      • 可选sharedToolRegistry: ToolRegistry

      返回 AgentService

    方法

    • 参数

      • prompts: Partial<AgentPrompts> | null

      返回 void

    • 参数

      • manager: BrowserSessionManager | null

      返回 void

    • 参数

      • planPath: string
      • 可选options: { outputDir?: string; seedTest?: string }

      返回 Promise<AgentResult<string[]>>

    • 参数

      • testFilePath: string
      • 可选options: { runId?: string; testId?: string; error?: string; stackTrace?: string }

      返回 Promise<AgentResult<AgentHealResult>>