You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`OAF_LC_MODEL`| Low-cost model for dual-model optimization |
460
460
|`OAF_MINI_A_CON_HIST_SIZE`| Console history size (default: JLine default) |
461
461
|`OAF_MINI_A_LIBS`| Comma-separated libraries to load automatically |
462
-
|`OAF_MINI_A_NOJSONPROMPT`| Disable promptJSONWithStats, force promptWithStats (default: false). Required for Gemini models due to API restrictions |
462
+
|`OAF_MINI_A_NOJSONPROMPT`| Disable promptJSONWithStats for main model, force promptWithStats (default: false). Required for Gemini models due to API restrictions |
463
+
|`OAF_MINI_A_LCNOJSONPROMPT`| Disable promptJSONWithStats for low-cost model, force promptWithStats (default: false). Required for Gemini low-cost models |
Copy file name to clipboardExpand all lines: USAGE.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,8 @@ Mini-A (Mini Agent) is a goal-oriented autonomous agent that uses Large Language
9
9
-**OAF_LC_MODEL Environment Variable** (optional): Low-cost model for cost optimization
10
10
-**OAF_MINI_A_CON_HIST_SIZE Environment Variable** (optional): Set the maximum console history size (default is JLine's default)
11
11
-**OAF_MINI_A_LIBS Environment Variable** (optional): Comma-separated list of libraries to load automatically
12
-
-**OAF_MINI_A_NOJSONPROMPT Environment Variable** (optional): Disable promptJSONWithStats and force promptWithStats (default: false). Required for Gemini models due to API restrictions
12
+
-**OAF_MINI_A_NOJSONPROMPT Environment Variable** (optional): Disable promptJSONWithStats and force promptWithStats for the main model (default: false). Required for Gemini models due to API restrictions
13
+
-**OAF_MINI_A_LCNOJSONPROMPT Environment Variable** (optional): Disable promptJSONWithStats and force promptWithStats for the low-cost model (default: false). Required for Gemini low-cost models. Allows different settings for main and low-cost models (e.g., Gemini low-cost with Claude main)
# Required for Gemini models due to API restrictions:
1081
+
export OAF_MINI_A_NOJSONPROMPT=true
1082
+
export OAF_MINI_A_LCNOJSONPROMPT=true
1077
1083
```
1078
1084
1085
+
> **Note**: When using Gemini models, Mini-A will display a warning at startup if the appropriate `OAF_MINI_A_NOJSONPROMPT` or `OAF_MINI_A_LCNOJSONPROMPT` environment variables are not set. These flags disable the JSON prompt methods that are not compatible with Gemini's API restrictions.
1086
+
1079
1087
**Log Output Examples:**
1080
1088
1081
1089
When using dual-model configuration, you'll see clear indicators of which model is being used:
0 commit comments