MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_default_model_pricing_claude_haiku

Function test_default_model_pricing_claude_haiku

core/src/telemetry.rs:747–752  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

745
746 #[test]
747 fn test_default_model_pricing_claude_haiku() {
748 let pricing = default_model_pricing();
749 let haiku = pricing.get("claude-3-haiku-20240307").unwrap();
750 assert_eq!(haiku.input_per_million, 0.25);
751 assert_eq!(haiku.output_per_million, 1.25);
752 }
753
754 #[test]
755 fn test_default_model_pricing_gpt4o() {

Callers

nothing calls this directly

Calls 2

default_model_pricingFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected