⚙️ Enhance script functionality with timeout settings, improved command handling, and updated dependencies

This commit is contained in:
2026-04-12 22:53:09 +08:00
parent ff49c530b7
commit f49c8890c8
3 changed files with 32 additions and 16 deletions
+2
View File
@@ -18,6 +18,7 @@ export async function howto(message: string): Promise<string> {
body: new URLSearchParams({
"message": message,
}),
timeoutMillis: 30_000,
},
);
if (response.status != 200) {
@@ -49,6 +50,7 @@ export async function summarizeGitStatusDiff(): Promise<string> {
"gitStatus": gitStatus,
"gitDiff": gitDiff,
}),
timeoutMillis: 30_000,
},
);
if (response.status != 200) {