Skip to content

Commit 5999a78

Browse files
committed
Add ASIMOV_ prefix to config env vars
1 parent 2bcbbfb commit 5999a78

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.asimov/module.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ provides:
1313
config:
1414
variables:
1515
- name: api-key
16-
environment: OPENAI_API_KEY
16+
environment: ASIMOV_OPENAI_API_KEY
1717
- name: endpoint
18-
environment: OPENAI_API_ENDPOINT
18+
environment: ASIMOV_OPENAI_API_ENDPOINT
1919
default: https://api.openai.com
2020
- name: model
21-
environment: OPENAI_MODEL
21+
environment: ASIMOV_OPENAI_MODEL
2222
default: gpt-5-mini

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ asimov module config openai
4545
Or through environment variables
4646

4747
```bash
48-
export OPENAI_API_KEY="..."
48+
export ASIMOV_OPENAI_API_KEY="..."
4949
```
5050

5151
### Optional configuration
5252

53-
| Name | Environment Variable | Default |
54-
| ---------- | --------------------- | ------------------------ |
55-
| `endpoint` | `OPENAI_API_ENDPOINT` | `https://api.openai.com` |
56-
| `model` | `OPENAI_MODEL` | `gpt-5-mini` |
53+
| Name | Environment Variable | Default |
54+
| ---------- | ---------------------------- | ------------------------ |
55+
| `endpoint` | `ASIMOV_OPENAI_API_ENDPOINT` | `https://api.openai.com` |
56+
| `model` | `ASIMOV_OPENAI_MODEL` | `gpt-5-mini` |
5757

5858
### Use a custom endpoint such as [Exo](https://github.com/exo-explore/exo)
5959

@@ -68,8 +68,8 @@ Enter value for `model` (optional, default: `gpt-5-mini`)
6868
> llama-3.2-3b
6969

7070
$ # or:
71-
$ export OPENAI_API_ENDPOINT="http://localhost:52415"
72-
$ export OPENAI_MODEL="llama-3.2-3b"
71+
$ export ASIMOV_OPENAI_API_ENDPOINT="http://localhost:52415"
72+
$ export ASIMOV_OPENAI_MODEL="llama-3.2-3b"
7373

7474
$ # then:
7575
$ echo "Why is the sky blue?" | asimov-openai-prompter

0 commit comments

Comments
 (0)