⚙️ Enhance script functionality with timeout settings, improved command handling, and updated dependencies
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user