Skip to content

fix: added --type aider flag in agentapi#811

Open
Harsh9485 wants to merge 9 commits intocoder:mainfrom
Harsh9485:aider-enhance
Open

fix: added --type aider flag in agentapi#811
Harsh9485 wants to merge 9 commits intocoder:mainfrom
Harsh9485:aider-enhance

Conversation

@Harsh9485
Copy link
Copy Markdown
Contributor

@Harsh9485 Harsh9485 commented Mar 23, 2026

Description

I added the --type flag in agentapi.

Aider does not support MCP, so we can’t set report_tasks = true

Closes: #739

Type of Change

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

Module Information

Path: registry/coder/modules/aider
New version: v2.1.0
Breaking change: [ ] Yes [ ] No

Testing & Validation

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

Related Issues

#749

@DevelopmentCats DevelopmentCats requested a review from 35C4n0r March 25, 2026 21:25
@Harsh9485
Copy link
Copy Markdown
Contributor Author

I tested it without a task prompt, and everything works as expected.
Screenshot 2026-04-25 092956
Screenshot 2026-04-25 093004

@Harsh9485
Copy link
Copy Markdown
Contributor Author

I also tested it with a task prompt, and it works as expected.
Screenshot 2026-04-25 095211
Screenshot 2026-04-25 095220

@Harsh9485
Copy link
Copy Markdown
Contributor Author

@35C4n0r, this PR has been ready for review for a while, if you'd like any changes, please let me know.

@matifali
Copy link
Copy Markdown
Member

@Harsh9485 Sorry for the late review. But we are doing a larger refactor that makes the agent API and tasks optional. See #861 for example. So we may not be able to review this for a while. If you want to refactor this to match #861, I am happy to review.

@Harsh9485
Copy link
Copy Markdown
Contributor Author

Harsh9485 commented Apr 28, 2026

@matifali, is the plan to refactor all the modules that use the agentAPI and tasks?

I'll refactor this PR soon.

@matifali
Copy link
Copy Markdown
Member

matifali commented Apr 28, 2026

Yes. Eventually all of them. We have strated with Claude code and will move to less popular ones later.

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.

aider: fix inconsistent --type flag and enable task reporting

2 participants