Skip to content

desktop/src-tauri/crates/core/tests/models_v05.rs

Comment 1, line 1

desktop/src-tauri/crates/core/tests/models_v05.rs:1

//! V05: model changes, distinct providers, unknown-model totals and preserved original names.

Comment 2, line 28

desktop/src-tauri/crates/core/tests/models_v05.rs:28

/// Historical model attribution uses structured changes no later than the call.

Comment 3, line 61

desktop/src-tauri/crates/core/tests/models_v05.rs:61

// Adding a versioned alias leaves usage_events.model_raw unchanged.

Comment 4, line 100

desktop/src-tauri/crates/core/tests/models_v05.rs:100

// Totals include both providers.

Comment 5, line 121

desktop/src-tauri/crates/core/tests/models_v05.rs:121

// The unknown-model row exists and contributes its known tokens to unfiltered totals.

Comment 6, line 130

desktop/src-tauri/crates/core/tests/models_v05.rs:130

// Selecting the known model limits totals to its records; unfiltered totals above include unknown.