(workspaceId: string)
| 2899 | return Ok(this.mockAiStreamPlayer.debugGetLastPrompt(workspaceId)); |
| 2900 | } |
| 2901 | debugGetLastMockModel(workspaceId: string): Result<string | null> { |
| 2902 | if (typeof workspaceId !== "string" || workspaceId.trim().length === 0) { |
| 2903 | return Err("debugGetLastMockModel: workspaceId is required"); |
| 2904 | } |
| 2905 | |
| 2906 | if (!this.mockModeEnabled || !this.mockAiStreamPlayer) { |
| 2907 | return Ok(null); |
| 2908 | } |
| 2909 | |
| 2910 | return Ok(this.mockAiStreamPlayer.debugGetLastModel(workspaceId)); |
| 2911 | } |
| 2912 | |
| 2913 | debugGetLastLlmRequest(workspaceId: string): Result<DebugLlmRequestSnapshot | null> { |
| 2914 | if (typeof workspaceId !== "string" || workspaceId.trim().length === 0) { |
no test coverage detected