Skip to content

Conversation

@ppisljar
Copy link
Contributor

@ppisljar ppisljar commented Dec 2, 2025

@ppisljar ppisljar added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting v9.3.0 labels Dec 2, 2025
@ppisljar ppisljar marked this pull request as ready for review December 3, 2025 08:31
@ppisljar ppisljar requested review from a team as code owners December 3, 2025 08:31
@ppisljar ppisljar requested a review from a team as a code owner December 3, 2025 10:58
Comment on lines +34 to +42
/**
* Output schema for the run agent step.
*/
export const OutputSchema = z.object({
/**
* The agent's response message.
*/
output: z.union([z.string(), z.any()]),
});
Copy link
Contributor

Choose a reason for hiding this comment

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

The output property is already set by the execution engine, this will make the step agent response be inside step.agent.output.output.
Maybe it would be better to just do:

Suggested change
/**
* Output schema for the run agent step.
*/
export const OutputSchema = z.object({
/**
* The agent's response message.
*/
output: z.union([z.string(), z.any()]),
});
/**
* Output schema for the run agent step.
*/
export const OutputSchema = z.union([z.string(), z.any()]);

Comment on lines +28 to +31
/**
* The user input message to send to the agent.
*/
input: z.string(),
Copy link
Contributor

Choose a reason for hiding this comment

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

NIT: Similar, we will have step.agent.input.input, maybe better to use message?

@elasticmachine
Copy link
Contributor

elasticmachine commented Dec 3, 2025

💔 Build Failed

Failed CI Steps

History

observabilityOnboarding: 12872
observabilityShared: 75115
onechat: 25223
onechat: 88464
Copy link
Member

Choose a reason for hiding this comment

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

Are we able to bring this back down?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants