mirror of
https://github.com/katanemo/plano.git
synced 2026-05-24 14:05:14 +02:00
* agents framework demo * more changes * add more changes * pending changes * fix tests * fix more * rebase with main and better handle error from mcp * add trace for filters * add test for client error, server error and for mcp error * update schema validate code and rename kind => type in agent_filter * fix agent description and pre-commit * fix tests * add provider specific request parsing in agents chat * fix precommit and tests * cleanup demo * update readme * fix pre-commit * refactor tracing * fix fmt * fix: handle MessageContent enum in responses API conversion - Update request.rs to handle new MessageContent enum structure from main - MessageContent can now be Text(String) or Items(Vec<InputContent>) - Handle new InputItem variants (ItemReference, FunctionCallOutput) - Fixes compilation error after merging latest main (#632) * address pr feedback * fix span * fix build * update openai version
26 lines
696 B
Rust
26 lines
696 B
Rust
// Original tracing types (OTEL structures)
|
|
mod shapes;
|
|
// New tracing utilities
|
|
mod span_builder;
|
|
mod resource_span_builder;
|
|
mod constants;
|
|
|
|
#[cfg(feature = "trace-collection")]
|
|
mod collector;
|
|
|
|
#[cfg(all(test, feature = "trace-collection"))]
|
|
mod tests;
|
|
|
|
// Re-export original types
|
|
pub use shapes::{
|
|
Span, Event, Traceparent, TraceparentNewError,
|
|
ResourceSpan, Resource, ScopeSpan, Scope, Attribute, AttributeValue,
|
|
};
|
|
|
|
// Re-export new utilities
|
|
pub use span_builder::{SpanBuilder, SpanKind, generate_random_span_id};
|
|
pub use resource_span_builder::ResourceSpanBuilder;
|
|
pub use constants::*;
|
|
|
|
#[cfg(feature = "trace-collection")]
|
|
pub use collector::{TraceCollector, parse_traceparent};
|