Skip to content

Commit c58557a

Browse files
committed
.env.local
1 parent 4f462b2 commit c58557a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cd agent-starter-python
2727
uv sync
2828
```
2929

30-
Set up the environment by copying `.env.example` to `.env` and filling in the required values:
30+
Set up the environment by copying `.env.example` to `.env.local` and filling in the required values:
3131

3232
- `LIVEKIT_URL`: Use [LiveKit Cloud](https://cloud.livekit.io/) or [run your own](https://docs.livekit.io/home/self-hosting/)
3333
- `LIVEKIT_API_KEY`
@@ -39,7 +39,7 @@ Set up the environment by copying `.env.example` to `.env` and filling in the re
3939
You can load the LiveKit environment automatically using the [LiveKit CLI](https://docs.livekit.io/home/cli/cli-setup):
4040

4141
```bash
42-
lk app env -w .env
42+
lk app env -w .env.local
4343
```
4444

4545
## Run the agent

src/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
logger = logging.getLogger("agent")
2222

23-
load_dotenv()
23+
load_dotenv(".env.local")
2424

2525

2626
class Assistant(Agent):

taskfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: "3"
22
output: interleaved
3-
dotenv: [".env"]
3+
dotenv: [".env.local"]
44

55
tasks:
66
post_create:

0 commit comments

Comments
 (0)