Skip to content

Conversation

DanielleMaywood
Copy link
Contributor

@DanielleMaywood DanielleMaywood commented Oct 17, 2025

Description

In https://github.com/coder/terraform-provider-coder v2.12.0 and the up-coming https://github.com/coder/coder v2.28 we have removed the requirement for the "AI Prompt" parameter, and are intending on slightly re-designing the API of the AI task modules.

Instead of agentapi defining the coder_ai_task resource, it will output the task_app_id. Consumers of the module will then be expected to create the coder_ai_task resource themselves with this task_app_id.

Type of Change

  • New module
  • New template
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Module Information

Path: registry/coder/modules/agent-api
New version: v2.0.0
Breaking change: [x] Yes [ ] No

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun fmt)
  • Changes tested locally

Related Issues

Related PRs

In https://github.com/coder/terraform-provider-coder v2.12.0-pre0 we have removed the requirement for the "AI Prompt" parameter, and are intending on slightly re-designing the API of the AI task modules. Instead of `agentapi` defining the `coder_ai_task` resource, it will output the `task_app_id`. Consumers of the module will then be expected to create the `coder_ai_task` resource themselves with this `task_app_id`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant