Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crates/adaptive/tests/coverage/subscriber_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ fn test_event_to_call_record_llm_end_with_annotated_response_stays_observability
finish_reason: Some(FinishReason::Complete),
usage: None,
api_specific: None,
optimization_summary: None,
extra: serde_json::Map::new(),
}))
.build(),
Expand Down
2 changes: 2 additions & 0 deletions crates/adaptive/tests/unit/drain_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,7 @@ fn test_accumulator_extracts_annotated_response() {
cost: None,
}),
api_specific: None,
optimization_summary: None,
extra: serde_json::Map::new(),
};

Expand Down Expand Up @@ -990,6 +991,7 @@ fn test_accumulator_annotated_response_partial_data() {
finish_reason: None,
usage: None,
api_specific: None,
optimization_summary: None,
extra: serde_json::Map::new(),
};

Expand Down
280 changes: 227 additions & 53 deletions crates/core/src/api/llm.rs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions crates/core/src/api/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
pub mod event;
/// LLM lifecycle helpers and managed execution entry points.
pub mod llm;
/// Plugin-neutral evidence recording for managed LLM calls.
pub mod optimization;
/// Global and scope-local middleware registration helpers.
pub mod registry;
/// Advanced runtime state, callbacks, and scope-stack helpers.
Expand Down
Loading
Loading