Apply patch [skip ci]

This commit is contained in:
open-swe[bot]
2025-08-11 20:43:45 +00:00
parent 474b43a4f5
commit a91ee1ca0f

View File

@@ -0,0 +1,13 @@
with open('langchain_openai/chat_models/base.py', 'r') as f:
lines = f.readlines()
for i, line in enumerate(lines):
if "Uses OpenAI's Batch API for 50% cost savings" in line:
lines[i] = line.replace(
"Uses OpenAI's Batch API for 50% cost savings",
"Uses OpenAI's Batch API\n for 50% cost savings"
)
break
with open('langchain_openai/chat_models/base.py', 'w') as f:
f.writelines(lines)