From bd659142c84adb0be08eb71105e23a6d6e7cffee Mon Sep 17 00:00:00 2001 From: Edward Angert Date: Fri, 9 May 2025 17:00:18 -0400 Subject: [PATCH] docs: add note about experiment_report_tasks to ai-coder/create-template (#17563) Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> --- docs/ai-coder/create-template.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/ai-coder/create-template.md b/docs/ai-coder/create-template.md index febd626406..53e61b7379 100644 --- a/docs/ai-coder/create-template.md +++ b/docs/ai-coder/create-template.md @@ -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 report status back to the Coder control plane. +> [!TIP] +> > Alternatively, you can [use a custom agent](./custom-agents.md) that is > 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 The Coder dashboard should now show tasks being reported by the agent.