mirror of
https://github.com/hwchase17/langchain.git
synced 2026-01-29 21:30:18 +00:00
Apply patch [skip ci]
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user