Skip to content

Commit 65b70a1

Browse files
committed
Update README
1 parent 0f3942e commit 65b70a1

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,26 @@ export OPENAI_API_KEY="..."
5555
| `endpoint` | `OPENAI_API_ENDPOINT` | `https://api.openai.com` |
5656
| `model` | `OPENAI_MODEL` | `gpt-5-mini` |
5757

58+
### Use a custom endpoint such as [Exo](https://github.com/exo-explore/exo)
59+
60+
```console
61+
$ # either:
62+
$ asimov module config openai
63+
Enter value for `api-key`
64+
> doesntmatter
65+
Enter value for `endpoint` (optional, default: `https://api.openai.com`)
66+
> http://localhost:52415
67+
Enter value for `model` (optional, default: `gpt-5-mini`)
68+
> llama-3.2-3b
69+
70+
$ # or:
71+
$ export OPENAI_API_ENDPOINT="http://localhost:52415"
72+
$ export OPENAI_MODEL="llama-3.2-3b"
73+
74+
$ # then:
75+
$ echo "Why is the sky blue?" | asimov-openai-prompter
76+
```
77+
5878
## 📚 Reference
5979

6080
### Prompt

0 commit comments

Comments
 (0)