Update transformation.py

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Cesar Garcia 2026-03-04 20:43:05 -03:00 committed by GitHub
parent 1fb38dfa31
commit 13dbcb182c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -128,7 +128,6 @@ class OpenAICountTokensConfig:
text_parts.append(block)
content = "\n".join(text_parts)
input_items.append({"role": "user", "content": content})
input_items.append({"role": "user", "content": content})
elif role == "assistant":
# Map tool_calls to Responses API function_call items
tool_calls = msg.get("tool_calls")