feat(context): Wire OpenAI provider through task context factory and add git-diff support to iterative context builder

This commit is contained in:
2025-11-03 13:37:16 +00:00
parent a6d678e36c
commit ebc3d760af
7 changed files with 72 additions and 22 deletions

View File

@@ -19,7 +19,10 @@ export class Description {
public async build() {
// Use the new TaskContextFactory for optimized context
const taskContextFactory = new (await import('../context/index.js')).TaskContextFactory(this.projectDir);
const taskContextFactory = new (await import('../context/index.js')).TaskContextFactory(
this.projectDir,
this.aiDocsRef.openaiInstance
);
await taskContextFactory.initialize();
// Generate context specifically for description task