agent-termo 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -9
- package/dist/cli.js +71 -67
- package/dist/cli.js.map +3 -3
- package/dist/main.js +54 -54
- package/dist/main.js.map +3 -3
- package/package.json +2 -2
- package/src/cli.ts +91 -12
- package/src/utils/config.ts +45 -2
package/README.md
CHANGED
|
@@ -39,17 +39,11 @@ npm run dev
|
|
|
39
39
|
|
|
40
40
|
## Configuration
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
cp .env.example .env
|
|
45
|
-
```
|
|
42
|
+
On the first launch, Agent-Termo prompts you to enter your NVIDIA NIM API key. The input is hidden, and the key is saved in your user configuration at `~/.agent-termo/config.json` so you are not prompted again.
|
|
46
43
|
|
|
47
|
-
|
|
48
|
-
```
|
|
49
|
-
NIM_API_KEY=your_api_key_here
|
|
50
|
-
```
|
|
44
|
+
Get a free API key from [https://build.nvidia.com/](https://build.nvidia.com/).
|
|
51
45
|
|
|
52
|
-
|
|
46
|
+
You can also provide `NIM_API_KEY` through your shell environment or a project `.env` file. Existing environment variables take precedence over the saved key.
|
|
53
47
|
|
|
54
48
|
## Usage
|
|
55
49
|
|