From 470a83ea4ece8202ec7a9366b358905afea20712 Mon Sep 17 00:00:00 2001 From: Nirant Date: Wed, 2 Aug 2023 10:41:17 +0530 Subject: [PATCH] Change var name and increase default --- agentai/conversation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agentai/conversation.py b/agentai/conversation.py index c6735c2..891d667 100644 --- a/agentai/conversation.py +++ b/agentai/conversation.py @@ -13,7 +13,7 @@ class Message(BaseModel): class Conversation: - def __init__(self, history: List[Message] = [], id: Optional[str] = None, max_tokens: int = 100): + def __init__(self, history: List[Message] = [], id: Optional[str] = None, max_history_tokens: int = 200): self.history: List[Message] = history self.role_to_color = { "system": "red",