Skip to content

Commit 97fcfcc

Browse files
authored
fix(benchmark): remove default agent timeout (#160)
## Description Remove default agent timeout, was 30min ## Type of Change <!-- Mark the relevant option with an 'x' --> - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Documentation update - [ ] Code refactoring - [ ] Performance improvement - [ ] Test updates ## Related Issues <!-- Link to related issues using #issue-number --> Closes # ## Changes Made <!-- Describe the changes in detail --> ## Testing <!-- Describe how you tested your changes --> - [ ] I have tested locally - [ ] I have added/updated tests - [ ] All existing tests pass ## Checklist - [ ] My code follows the code style of this project - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published ## Screenshots (if applicable) <!-- Add screenshots to help explain your changes --> ## Additional Notes <!-- Any additional information that reviewers should know -->
1 parent a472f0a commit 97fcfcc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • src/commands/benchmark-job

src/commands/benchmark-job/run.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,9 @@ export async function runBenchmarkJob(options: RunOptions) {
326326
const agentConfigs = parsedAgents.map((agent) => ({
327327
name: agent.name,
328328
modelName: agent.model,
329-
timeoutSeconds: options.timeout ? parseInt(options.timeout, 10) : 1800,
329+
timeoutSeconds: options.timeout
330+
? parseInt(options.timeout, 10)
331+
: undefined,
330332
environmentVariables:
331333
Object.keys(providedEnvVars).length > 0 ? providedEnvVars : undefined,
332334
secrets,

0 commit comments

Comments
 (0)