add macros (#68)

This commit is contained in:
David Blass
2026-01-14 22:52:54 +00:00
committed by pullfrog[bot]
parent 3539ddf943
commit 1daf1571cf
20 changed files with 376 additions and 269 deletions
+17 -14
View File
@@ -2,11 +2,14 @@
Pullfrog supports three effort levels that control model selection and reasoning depth:
- **`nothink`** — Fast, minimal reasoning. Best for simple tasks.
- **`think`** — Balanced (default). Good for most tasks.
- **`max`** — Maximum capability. Best for complex tasks requiring deep reasoning.
- **`#mini`** — Fast, minimal reasoning. Best for simple tasks.
- **`#auto`** — Balanced (default). Good for most tasks.
- **`#max`** — Maximum capability. Best for complex tasks requiring deep reasoning.
The effort level can be specified via the `effort` input in `action.yml` or in the payload's `effort` field.
The effort level can be specified via:
1. Macros in the prompt (`#mini`, `#auto`, `#max`)
2. The `effort` input in `action.yml`
3. The payload's `effort` field
---
@@ -16,8 +19,8 @@ Claude Code uses model selection based on effort level.
| Effort | Model | Description |
|--------|-------|-------------|
| `nothink` | `haiku` | Fast, efficient |
| `think` | `opusplan` | Opus for planning, Sonnet for execution |
| `mini` | `haiku` | Fast, efficient |
| `auto` | `opusplan` | Opus for planning, Sonnet for execution |
| `max` | `opus` | Full Opus |
> **Future direction:** Anthropic's beta `effort` parameter (`low`/`medium`/`high`) could replace model selection, using Opus 4.5 for all tasks with effort controlling token spend. See [Anthropic Effort Docs](https://platform.claude.com/docs/en/build-with-claude/effort).
@@ -30,8 +33,8 @@ Codex uses both model selection and the `modelReasoningEffort` parameter from `T
| Effort | Model | `modelReasoningEffort` | Description |
|--------|-------|------------------------|-------------|
| `nothink` | `gpt-5.1-codex-mini` | `"low"` | Smaller model, reduced reasoning |
| `think` | `gpt-5.1-codex` | default | Standard model, default reasoning |
| `mini` | `gpt-5.1-codex-mini` | `"low"` | Smaller model, reduced reasoning |
| `auto` | `gpt-5.1-codex` | default | Standard model, default reasoning |
| `max` | `gpt-5.1-codex-max` | `"high"` | Largest model, maximum reasoning |
Valid values for `modelReasoningEffort`: `"minimal"` | `"low"` | `"medium"` | `"high"`
@@ -46,8 +49,8 @@ Gemini uses a combination of model selection and `thinkingLevel` configuration v
| Effort | Model | `thinkingLevel` | Description |
|--------|-------|-----------------|-------------|
| `nothink` | `gemini-2.5-flash` | `LOW` | Fast model, minimal thinking |
| `think` | `gemini-2.5-flash` | `HIGH` | Fast model, deep thinking |
| `mini` | `gemini-2.5-flash` | `LOW` | Fast model, minimal thinking |
| `auto` | `gemini-2.5-flash` | `HIGH` | Fast model, deep thinking |
| `max` | `gemini-2.5-pro` | `HIGH` | Most capable model, deep thinking |
The `thinkingLevel` is configured via:
@@ -73,8 +76,8 @@ Cursor uses model selection via the `--model` CLI flag. Project-level configurat
| Effort | Model | Description |
|--------|-------|-------------|
| `nothink` | `auto` (default) | Let Cursor select optimal model |
| `think` | `auto` (default) | Let Cursor select optimal model |
| `mini` | `auto` (default) | Let Cursor select optimal model |
| `auto` | `auto` (default) | Let Cursor select optimal model |
| `max` | `opus-4.5-thinking` | Claude 4.5 Opus with thinking |
**Note:** If the project has `.cursor/cli.json` with a `model` field, that model is used regardless of effort level.
@@ -87,6 +90,6 @@ OpenCode does not currently have affordances for effort-level configuration. The
| Effort | Behavior |
|--------|----------|
| `nothink` | No effect |
| `think` | No effect |
| `mini` | No effect |
| `auto` | No effect |
| `max` | No effect |