feat(context): Wire OpenAI provider through task context factory and add git-diff support to iterative context builder
This commit is contained in:
@@ -32,7 +32,10 @@ export class Commit {
|
||||
'package-lock.json',
|
||||
]);
|
||||
// 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 commit task
|
||||
|
||||
Reference in New Issue
Block a user