File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
openai-count-tokens/src/main/scala/io/cequence/openaiscala/service Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,12 +53,12 @@ trait OpenAICountTokensHelper {
53
53
// every message follows <|start|>{role/name}\n{content}<|end|>\n
54
54
// if there's a name, the role is omitted
55
55
(4 , - 1 )
56
- case ModelId .gpt_3_5_turbo_0613 | ModelId .gpt_3_5_turbo_16k_0613 | ModelId .gpt_4_0314 | ModelId .gpt_4_32k_0314 |
57
- ModelId .gpt_4_0613 | ModelId .gpt_4_32k_0613 =>
56
+ case ModelId .gpt_3_5_turbo_0613 | ModelId .gpt_3_5_turbo_16k_0613 | ModelId .gpt_4_0314 |
57
+ ModelId .gpt_4_32k_0314 | ModelId . gpt_4_0613 | ModelId .gpt_4_32k_0613 =>
58
58
(3 , 1 )
59
59
case ModelId .gpt_3_5_turbo => tokensPerMessageAndName(ModelId .gpt_3_5_turbo_0613)
60
60
case ModelId .gpt_4 => tokensPerMessageAndName(ModelId .gpt_4_0613)
61
- case _ =>
61
+ case _ =>
62
62
// failover to (3, 1)
63
63
(3 , 1 )
64
64
}
You can’t perform that action at this time.
0 commit comments