fix: change inner_thoughts to thinking in kwargs (#3165)

This commit is contained in:
Charles Packer
2025-07-21 19:47:55 -04:00
committed by GitHub
parent 4ed392b99b
commit 5d9c2b5ddc
4 changed files with 17 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
from typing import Optional, Tuple
from letta.constants import DEFAULT_MESSAGE_TOOL_KWARG
from letta.local_llm.constants import INNER_THOUGHTS_KWARG
class JSONInnerThoughtsExtractor:
@@ -34,7 +35,7 @@ class JSONInnerThoughtsExtractor:
"""
def __init__(self, inner_thoughts_key="inner_thoughts", wait_for_first_key=False):
def __init__(self, inner_thoughts_key=INNER_THOUGHTS_KWARG, wait_for_first_key=False):
self.inner_thoughts_key = inner_thoughts_key
self.wait_for_first_key = wait_for_first_key
self.main_buffer = ""