@inference-gateway/cli 0.208.1 → 0.208.2

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.
Files changed (2) hide show
  1. package/README.md +10 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -744,8 +744,8 @@ agent:
744
744
 
745
745
  ### Configuration Layers
746
746
 
747
- 1. **Environment Variables** (`INFER_*`) - Highest priority
748
- 2. **Command Line Flags**
747
+ 1. **Command Line Flags** - Highest priority
748
+ 2. **Environment Variables** (`INFER_*`)
749
749
  3. **Project Config** (`.infer/config.yaml`)
750
750
  4. **Userspace Config** (`~/.infer/config.yaml`)
751
751
  5. **Built-in Defaults** - Lowest priority
@@ -753,16 +753,20 @@ agent:
753
753
  **Example:**
754
754
 
755
755
  ```bash
756
- # Set via environment variable (highest priority)
756
+ # Set via command flag (highest priority; beats env vars and config files)
757
+ infer headless --model "anthropic/claude-4" "Summarize this repository"
758
+
759
+ # Or via environment variable (beats config files)
757
760
  export INFER_AGENT_MODEL="openai/gpt-4"
758
761
 
759
762
  # Or via config file
760
763
  infer config set agent.model "deepseek/deepseek-v4-pro"
761
-
762
- # Or via command flag (headless mode)
763
- infer headless --model "anthropic/claude-4" "Summarize this repository"
764
764
  ```
765
765
 
766
+ The two exceptions where the environment variable wins over the flag:
767
+ `INFER_TOOLS_BASH_ALLOW_APPEND` (over `--tools-bash-allow-append`) and
768
+ `INFER_REMINDERS_CONFIG` (over `--reminders-file`).
769
+
766
770
  ### Key Configuration Options
767
771
 
768
772
  - **gateway.url** - Gateway URL (default: `http://localhost:8080`)
@@ -1108,14 +1112,12 @@ shortcuts:
1108
1112
  - name: build
1109
1113
  description: "Build Docker image"
1110
1114
  args:
1111
- - build
1112
1115
  - -t
1113
1116
  - myapp
1114
1117
  - .
1115
1118
  - name: run
1116
1119
  description: "Run Docker container"
1117
1120
  args:
1118
- - run
1119
1121
  - -p
1120
1122
  - "8080:8080"
1121
1123
  - myapp
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inference-gateway/cli",
3
- "version": "0.208.1",
3
+ "version": "0.208.2",
4
4
  "description": "A Git-first CLI coding agent that turns ideas, issues, and tasks into real code changes.",
5
5
  "bin": {
6
6
  "infer": "bin/run.js"