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

    类 AgentService

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

    索引
    • 参数

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

      返回 AgentService

    • 参数

      • config: LLMConfig

      返回 void

    • 参数

      • prompts: Partial<AgentPrompts> | null

      返回 void

    • 参数

      • root: string

      返回 void

    • 返回 string

    • 返回 ProjectContext | null

    • 参数

      返回 void

    • 参数

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

      返回 Promise<AgentResult<TestPlan>>

    • 参数

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

      返回 Promise<AgentResult<string[]>>

    • 参数

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

      返回 Promise<AgentResult<AgentHealResult>>

    • 参数

      • filePath: string

      返回 TestPlan | null

    • 返回 AgentSessionContext