Skip to content

Commit cc7b218

Browse files
committed
Drop tiktoken config
1 parent 14c16e0 commit cc7b218

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/mlmodel_langchain/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ def openai_clients(vcr_recording, monkeypatch):
100100
for env_var in os.environ.keys():
101101
if env_var.startswith("OPENAI_"):
102102
monkeypatch.delenv(env_var)
103+
monkeypatch.delenv("TIKTOKEN_CACHE_DIR")
103104
openai_api_key = os.environ["OPENAI_API_KEY"] = "NOT-A-REAL-SECRET"
104105

105106
chat = ChatOpenAI(api_key=openai_api_key)

0 commit comments

Comments
 (0)