Skip to content

Commit

Permalink
Fix typo in value_for_tiktoken (camel-ai#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
lightaime committed Dec 4, 2023
1 parent b8b19b4 commit d83e8a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion camel/types/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ModelType(Enum):

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

@property
def is_openai(self) -> bool:
Expand Down

0 comments on commit d83e8a9

Please sign in to comment.