Skip to content

Conversation

@arielb1
Copy link
Collaborator

@arielb1 arielb1 commented Oct 28, 2025

📬 Issue #, if available:

✍️ Description of changes:

🔏 By submitting this pull request

  • I confirm that I've made a best effort attempt to update all relevant documentation.
  • I confirm that my contribution is made under the terms of the Apache 2.0 license.

@arielb1 arielb1 changed the title Agent metadata ctors add support for agent metadata CPU and memory fields Oct 28, 2025
@arielb1 arielb1 force-pushed the agent-metadata-ctors branch from fbea486 to e2f39b0 Compare October 28, 2025 14:20
@arielb1 arielb1 requested a review from rcoh October 28, 2025 16:03
#[serde(transparent)]
pub struct OrderedF64(OrderedFloat<f64>);

impl OrderedF64 {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Another reasonable option could be a string that serde's as a float

we want to allow adding fields to metadata, which requires making them
`non_exhaustive`. However, users do create the metadatas, at least for
testing. Add constructors to allow that to be done in a back-compat way.
@arielb1 arielb1 force-pushed the agent-metadata-ctors branch from e2f39b0 to 0929049 Compare November 5, 2025 19:02
@arielb1 arielb1 force-pushed the agent-metadata-ctors branch from 0929049 to a10b42f Compare November 5, 2025 19:03
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.

2 participants