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`.
@DanielleMaywood DanielleMaywood force-pushed the danielle/agent-api/refactor branch from 4c9fab8 to 88773fe Compare October 24, 2025 10:23
@DanielleMaywood DanielleMaywood self-assigned this Oct 24, 2025
@DanielleMaywood DanielleMaywood marked this pull request as ready for review October 24, 2025 10:25
Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stamp 👍

@johnstcn johnstcn requested a review from matifali October 24, 2025 10:43
@DanielleMaywood DanielleMaywood merged commit e3ff43c into main Oct 24, 2025
4 checks passed
@DanielleMaywood DanielleMaywood deleted the danielle/agent-api/refactor branch October 24, 2025 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants