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
> **Note:** The `gemini-dispatch.yml` workflow is designed to call multiple
64
-
> workflows. If you are only setting up `gemini-invoke.yml`, you should comment out or
65
+
> workflows. If you are only setting up `gemini-invoke.yml` and `gemini-plan-execute.yml`, you should comment out or
65
66
> remove the other jobs in your copy of `gemini-dispatch.yml`.
66
67
67
68
## Dependencies
@@ -131,14 +132,14 @@ flowchart TD
131
132
```
132
133
133
134
1.**Acknowledge**: The action first posts a brief comment to let the user know the request has been received.
134
-
2.**Plan (if needed)**: For requests that may involve code changes or complex actions, the AI will first create a step-by-step plan. It will post this plan as a comment and wait for the user to approve it by replying with `@gemini-cli plan#123 approved`. This ensures the user has full control before any changes are made.
135
+
2.**Plan (if needed)**: For requests that may involve code changes or complex actions, the AI will first create a step-by-step plan. It will post this plan as a comment and wait for the user to approve it by replying with `@gemini-cli /approve`. This ensures the user has full control before any changes are made.
135
136
3.**Execute**: Once the plan is approved (or if no plan was needed), it runs the Gemini model, providing it with the user's request, repository context, and a set of tools.
136
137
4.**Commit (if needed)**: If the AI uses tools to modify files, it will automatically commit and push the changes to the branch.
137
138
5.**Respond**: The AI posts a final, comprehensive response as a comment on the issue or pull request.
138
139
139
140
## Configuration
140
141
141
-
The Gemini CLI assistant prompt is defined in the `gemini-invoke.toml`file. The action automatically copies this file from `.github/commands/` to `.gemini/commands/` during execution.
142
+
The Gemini CLI assistant prompts are defined in the `gemini-invoke.toml`and `gemini-plan-execute.toml` files. The action automatically copies these files from `.github/commands/` to `.gemini/commands/` during execution.
142
143
143
144
**To customize the assistant prompt:**
144
145
@@ -147,9 +148,10 @@ The Gemini CLI assistant prompt is defined in the `gemini-invoke.toml` file. The
0 commit comments