MCPcopy Index your code
hub / github.com/coder/mux / getStartupAutoRetryModel

Method getStartupAutoRetryModel

src/node/services/workspaceService.ts:7502–7512  ·  view source on GitHub ↗
(workspaceId: string)

Source from the content-addressed store, hash-verified

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 {

Callers 2

routerFunction · 0.80

Calls 4

getOrCreateSessionMethod · 0.95
OkFunction · 0.90
ErrFunction · 0.90

Tested by

no test coverage detected