@@ -21,7 +21,7 @@ codeunit 7759 "AOAI Token"
21
21
// / <returns>The token count.</returns>
22
22
procedure GetGPT35TokenCount( Input: SecretText ) : Integer
23
23
begin
24
- AzureOpenAIImpl. GetTokenCount( Input, Encodingcl100kbaseLbl) ;
24
+ exit ( AzureOpenAIImpl. GetTokenCount( Input, Encodingcl100kbaseLbl) ) ;
25
25
end ;
26
26
27
27
// / <summary>
@@ -31,7 +31,7 @@ codeunit 7759 "AOAI Token"
31
31
// / <returns>The token count.</returns>
32
32
procedure GetGPT4TokenCount( Input: SecretText ) : Integer
33
33
begin
34
- AzureOpenAIImpl. GetTokenCount( Input, Encodingcl100kbaseLbl) ;
34
+ exit ( AzureOpenAIImpl. GetTokenCount( Input, Encodingcl100kbaseLbl) ) ;
35
35
end ;
36
36
37
37
// / <summary>
@@ -41,7 +41,7 @@ codeunit 7759 "AOAI Token"
41
41
// / <returns>The token count.</returns>
42
42
procedure GetAdaTokenCount( Input: SecretText ) : Integer
43
43
begin
44
- AzureOpenAIImpl. GetTokenCount( Input, Encodingcl100kbaseLbl) ;
44
+ exit ( AzureOpenAIImpl. GetTokenCount( Input, Encodingcl100kbaseLbl) ) ;
45
45
end ;
46
46
47
47
// / <summary>
@@ -51,6 +51,6 @@ codeunit 7759 "AOAI Token"
51
51
// / <returns>The token count.</returns>
52
52
procedure GetDavinciTokenCount( Input: SecretText ) : Integer
53
53
begin
54
- AzureOpenAIImpl. GetTokenCount( Input, Encodingp50kbaseLbl) ;
54
+ exit ( AzureOpenAIImpl. GetTokenCount( Input, Encodingp50kbaseLbl) ) ;
55
55
end ;
56
56
}
0 commit comments