Skip to content

Commit 7858d84

Browse files
committed
fix: Update timeout value in getRCAData function and improve description for test ID input
1 parent ff81d6e commit 7858d84

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tools/rca-agent-utils/rca-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ export async function getRCAData(
253253
context?: ScanProgressContext,
254254
): Promise<RCAResponse> {
255255
const pollInterval = 5000;
256-
const timeout = 30000;
256+
const timeout = 40000;
257257
const initialDelay = 20000;
258258

259259
const baseUrl =

src/tools/rca-agent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export default function addRCATools(
101101
.array(z.string())
102102
.max(3)
103103
.describe(
104-
"Array of test IDs to fetch RCA data. Input should be a maximum of 3 IDs at a time. If you get more than 3 Ids ask user to choose less than 3",
104+
"Array of test IDs to fetch RCA data for (maximum 3 IDs). Use the listTestIds tool to discover available test IDs if needed. If more than 3 IDs are provided, only the first 3 will be processed.",
105105
),
106106
},
107107
async (args) => {

0 commit comments

Comments
 (0)