Skip to content

Commit d83e8a9

Browse files
authored
Fix typo in value_for_tiktoken (camel-ai#399)
1 parent b8b19b4 commit d83e8a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

camel/types/enums.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ModelType(Enum):
3939

4040
@property
4141
def value_for_tiktoken(self) -> str:
42-
return self.value if self is ModelType.STUB else "gpt-3.5-turbo"
42+
return self.value if self is not ModelType.STUB else "gpt-3.5-turbo"
4343

4444
@property
4545
def is_openai(self) -> bool:

0 commit comments

Comments
 (0)