Skip to content

Conversation

@andreibratu
Copy link

No description provided.

@andreibratu andreibratu marked this pull request as ready for review April 25, 2025 11:53
Comment on lines 143 to 145
process.stderr.write(
`\n${RED}Received signal ${signum}, cancelling Evaluation and shutting down threads...${RESET}\n`,
`\n${RED}Received signal ${signum}, cancelling the Evaluation...${RESET}\n`,
);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(non-blocking) would love helpers for this like you did in python

Comment on lines -470 to -474
} else {
// TODO: trigger run when updated API is available
console.log(
`${CYAN}\nRunning ${hlFile.name} over the Dataset ${hlDataset.name}${RESET}`,
);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a functional change?

Comment on lines +493 to +495
console.warn(
`${YELLOW}No \`file\` type specified, defaulting to flow.${RESET}\n`,
);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this in line 484 as well?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure what would error in the try/catch

Comment on lines -592 to -594
case "evaluator":
hlFile = await client.evaluators.upsert(fileDict as EvaluatorRequest);
break;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same q as python -- intentional?

const fileDict = { ...fileConfig, ...version };
const type = fileConfig.type;

let hlFile: PromptResponse | FlowResponse | ToolResponse | EvaluatorResponse;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same q as python -- no agent?

Copy link
Contributor

@jamesbaskerville jamesbaskerville left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nothing blocking -- same questions as python mostly.

@andreibratu andreibratu force-pushed the add-agents branch 3 times, most recently from e8cc087 to ba6d2f7 Compare April 29, 2025 11:49
@andreibratu andreibratu merged commit 303fe8e into master Apr 30, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants