source · Rust

Lib

crates/vak-core/src/lib.rs
Raw
444.6 KB10,698 lines207 anchorsSnapshot ed4ab258
  1. 10676 quantisation: None,
  2. 10677 };
  3. 10678 let probed = wait_for_capacity_probe(&core, &key).await;
  4. 10679
  5. 10680 assert_eq!(
  6. 10681 probed.cache,
  7. 10682 vak_context::capacity::CacheBehaviour::ProviderReported
  8. 10683 );
  9. 10684 assert!(
  10. 10685 probed
  11. 10686 .provenance
  12. 10687 .signals
  13. 10688 .iter()
  14. 10689 .any(|s| s.contains("cache rung") && s.contains("ProviderReported")),
  15. 10690 "both cache-rung latencies and the outcome must be recorded as \
  16. 10691 provenance signals: {:?}",
  17. 10692 probed.provenance.signals
  18. 10693 );
  19. 10694
  20. 10695 vak_config::clear_override("VAK_OLLAMA_BASE_URL");
  21. 10696 }
  22. 10697}
  23. 10698