Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

Fix typo in `value_for_tiktoken` (#399)

Guohao Lid83e8a966dd8
diff --git a/camel/types/enums.py b/camel/types/enums.py
index eebebd27e..fea4ba890 100644
--- a/camel/types/enums.py
+++ b/camel/types/enums.py
@@ -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: