File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ fn test_token_counting_empty_template() {
3838fn test_token_counting_template ( ) {
3939 // Test that we can count tokens in the actual template
4040 let model = Model :: GPT41Mini ;
41- let result = token_used ( & model) ;
41+ let result = calculate_token_usage ( & model) ;
4242
4343 assert ! ( result. is_ok( ) , "Token counting should succeed" ) ;
4444 let token_count = result. unwrap ( ) ;
@@ -547,8 +547,8 @@ index 123abc..456def 100644
547547
548548 // Test the full workflow
549549 let model = Model :: GPT41Mini ;
550- let template = get_instruction_template ( ) . unwrap ( ) ;
551- let token_count = token_used ( & model) . unwrap ( ) ;
550+ let template = generate_instruction_template ( ) . unwrap ( ) ;
551+ let token_count = calculate_token_usage ( & model) . unwrap ( ) ;
552552 let request = create_commit_request ( simple_diff. clone ( ) , 2000 , model) . unwrap ( ) ;
553553
554554 // Verify all components work together
You can’t perform that action at this time.
0 commit comments