Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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 lib/bindings/python/rust/parsers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ fn make_stream_chunk(chunk: &CaptureChunk) -> Annotated<NvCreateChatCompletionSt
usage: None,
},
nvext: None,
llm_metrics: None,
}),
event: None,
comment: None,
Expand Down
4 changes: 4 additions & 0 deletions lib/llm/src/audit/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ pub fn final_response_to_one_chunk_stream(
usage: resp.inner.usage.clone(),
},
nvext: resp.nvext.clone(),
llm_metrics: None,
};

let annotated = Annotated {
Expand Down Expand Up @@ -292,6 +293,7 @@ mod tests {
service_tier: None,
},
nvext: None,
llm_metrics: None,
};

Annotated {
Expand Down Expand Up @@ -332,6 +334,7 @@ mod tests {
service_tier: None,
},
nvext: None,
llm_metrics: None,
};

Annotated {
Expand Down Expand Up @@ -469,6 +472,7 @@ mod tests {
service_tier: None,
},
nvext: None,
llm_metrics: None,
}),
id: Some("correlation-123".to_string()),
event: Some("test-event".to_string()),
Expand Down
5 changes: 4 additions & 1 deletion lib/llm/src/http/service/anthropic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ use tracing::Instrument;
use super::{
RouteDoc,
disconnect::{ConnectionHandle, create_connection_monitor, monitor_for_disconnects},
metrics::{CancellationLabels, Endpoint, process_response_and_observe_metrics},
metrics::{
CancellationLabels, Endpoint,
process_chat_response_and_observe_metrics as process_response_and_observe_metrics,
},
service_v2,
};
use crate::protocols::anthropic::stream_converter::AnthropicStreamConverter;
Expand Down
Loading
Loading