Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: force overriding environment variables from .env files #89

Merged
merged 1 commit into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/foundational/01-say-one-thing.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/02-llm-say-one-thing.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/03-still-frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/04-utterance-and-speech.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/05-sync-speech-and-image.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/06-listen-and-respond.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/06a-image-sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/07-interruptible.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/08-bots-arguing.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/10-wake-word.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/11-sound-effects.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/13-whisper-transcription.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/internal/11a-dial-out.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

sounds = {}
sound_files = [
Expand Down
2 changes: 1 addition & 1 deletion examples/server/daily-bot-manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from auth import get_meeting_token

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

app = Flask(__name__)
CORS(app)
Expand Down
2 changes: 1 addition & 1 deletion examples/starter-apps/chatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/starter-apps/patient-intake.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format="%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/starter-apps/storybot.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/starter-apps/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
Loading