Skip to content

Commit 830e15e

Browse files
Update detect.ts
1 parent 96b2d13 commit 830e15e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cli/detect.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import '#fastify/trace-init/trace-init'; // leave an empty line next so this doesn't get sorted from the first line
22

3-
import { detectProjectInfo } from 'dist/src/swe/projectDetection';
43
import { agentContext } from '#agent/agentContextLocalStorage';
54
import type { RunWorkflowConfig } from '#agent/autonomous/autonomousAgentRunner';
65
import { runWorkflowAgent } from '#agent/workflow/workflowAgentRunner';
76
import { initApplicationContext } from '#app/applicationContext';
87
import { shutdownTrace } from '#fastify/trace-init/trace-init';
98
import { defaultLLMs } from '#llm/services/defaultLlms';
109
import type { AgentLLMs } from '#shared/agent/agent.model';
10+
import { getProjectInfo } from '#swe/projectDetection';
1111

1212
async function main() {
1313
await initApplicationContext();
@@ -29,7 +29,7 @@ async function main() {
2929

3030
await runWorkflowAgent(config, async () => {
3131
const agent = agentContext();
32-
const projectInfo = await detectProjectInfo();
32+
const projectInfo = await getProjectInfo(true);
3333
console.log(projectInfo);
3434
console.log('Written to .typedai.json');
3535
});

0 commit comments

Comments
 (0)