Skip to content

Commit f998c20

Browse files
committed
Add override
1 parent 4079e85 commit f998c20

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

chat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from dotenv import load_dotenv
66

77
# Setup the OpenAI client to use either Azure, OpenAI.com, or Ollama API
8-
load_dotenv()
8+
load_dotenv(override=True)
99
API_HOST = os.getenv("API_HOST")
1010

1111
if API_HOST == "azure":

chat_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from dotenv import load_dotenv
77

88
# Setup the OpenAI client to use either Azure, OpenAI.com, or Ollama API
9-
load_dotenv()
9+
load_dotenv(override=True)
1010
API_HOST = os.getenv("API_HOST")
1111

1212
if API_HOST == "azure":

chat_history.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from dotenv import load_dotenv
66

77
# Setup the OpenAI client to use either Azure, OpenAI.com, or Ollama API
8-
load_dotenv()
8+
load_dotenv(override=True)
99
API_HOST = os.getenv("API_HOST")
1010

1111
if API_HOST == "azure":

chat_history_stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from dotenv import load_dotenv
66

77
# Setup the OpenAI client to use either Azure, OpenAI.com, or Ollama API
8-
load_dotenv()
8+
load_dotenv(override=True)
99
API_HOST = os.getenv("API_HOST")
1010

1111
if API_HOST == "azure":

chat_safety.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from dotenv import load_dotenv
66

77
# Setup the OpenAI client to use either Azure, OpenAI.com, or Ollama API
8-
load_dotenv()
8+
load_dotenv(override=True)
99
API_HOST = os.getenv("API_HOST")
1010

1111
if API_HOST == "azure":

chat_stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from dotenv import load_dotenv
66

77
# Setup the OpenAI client to use either Azure, OpenAI.com, or Ollama API
8-
load_dotenv()
8+
load_dotenv(override=True)
99
API_HOST = os.getenv("API_HOST")
1010

1111
if API_HOST == "azure":

0 commit comments

Comments
 (0)