docs: add note about experiment_report_tasks to ai-coder/create-template (#17563)

Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com>
This commit is contained in:
Edward Angert
2025-05-09 17:00:18 -04:00
committed by GitHub
parent 842bb1f014
commit bd659142c8

View File

@ -42,9 +42,19 @@ Follow the instructions in the Coder Registry to install the module. Be sure to
enable the `experiment_use_screen` and `experiment_report_tasks` variables to enable the `experiment_use_screen` and `experiment_report_tasks` variables to
report status back to the Coder control plane. report status back to the Coder control plane.
> [!TIP]
>
> Alternatively, you can [use a custom agent](./custom-agents.md) that is > Alternatively, you can [use a custom agent](./custom-agents.md) that is
> not in our registry via MCP. > not in our registry via MCP.
The module uses `experiment_report_tasks` to stream changes to the Coder dashboard:
```hcl
# Enable experimental features
experiment_use_screen = true # Or use experiment_use_tmux = true to use tmux instead
experiment_report_tasks = true
```
## 3. Confirm tasks are streaming in the Coder UI ## 3. Confirm tasks are streaming in the Coder UI
The Coder dashboard should now show tasks being reported by the agent. The Coder dashboard should now show tasks being reported by the agent.