Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

Revert "feat: flip default for put inner thoughts in kwargs" (#9938)

cthomase082cd48406a
diff --git a/letta/schemas/message.py b/letta/schemas/message.py
index 1f31d9c67..6368db2f1 100644
--- a/letta/schemas/message.py
+++ b/letta/schemas/message.py
@@ -2115,7 +2115,7 @@ class Message(BaseMessage):
def to_google_dict(
self,
current_model: str,
- put_inner_thoughts_in_kwargs: bool = False,
+ put_inner_thoughts_in_kwargs: bool = True,
# if true, then treat the content field as AssistantMessage
native_content: bool = False,
strip_request_heartbeat: bool = False,
@@ -2395,7 +2395,7 @@ class Message(BaseMessage):
def to_google_dicts_from_list(
messages: List[Message],
current_model: str,
- put_inner_thoughts_in_kwargs: bool = False,
+ put_inner_thoughts_in_kwargs: bool = True,
native_content: bool = False,
tool_return_truncation_chars: Optional[int] = None,
):