revert: Revert "feat: fix streaming put_inner_thoughts_in_kwargs" (#1912)

This commit is contained in:
Charles Packer
2024-10-19 23:48:27 -07:00
committed by GitHub
parent cf19da6062
commit e940511a6f
3 changed files with 24 additions and 62 deletions

View File

@@ -140,7 +140,6 @@ def create(
raise ValueError(f"OpenAI key is missing from letta config file")
data = build_openai_chat_completions_request(llm_config, messages, user_id, functions, function_call, use_tool_naming, max_tokens)
print(f"Data.tools: {data.tools}")
if stream: # Client requested token streaming
data.stream = True