(workspaceId: string)
| 7500 | } |
| 7501 | |
| 7502 | async getStartupAutoRetryModel(workspaceId: string): Promise<Result<string | null>> { |
| 7503 | try { |
| 7504 | const session = this.getOrCreateSession(workspaceId); |
| 7505 | const model = await session.getStartupAutoRetryModelHint(); |
| 7506 | return Ok(model); |
| 7507 | } catch (error) { |
| 7508 | const errorMessage = error instanceof Error ? error.message : String(error); |
| 7509 | log.error("Unexpected error in getStartupAutoRetryModel handler:", error); |
| 7510 | return Err(`Failed to inspect startup auto-retry model: ${errorMessage}`); |
| 7511 | } |
| 7512 | } |
| 7513 | |
| 7514 | setAutoCompactionThreshold(workspaceId: string, threshold: number): Result<void> { |
| 7515 | try { |
no test coverage detected