File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import '#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' ;
43import { agentContext } from '#agent/agentContextLocalStorage' ;
54import type { RunWorkflowConfig } from '#agent/autonomous/autonomousAgentRunner' ;
65import { runWorkflowAgent } from '#agent/workflow/workflowAgentRunner' ;
76import { initApplicationContext } from '#app/applicationContext' ;
87import { shutdownTrace } from '#fastify/trace-init/trace-init' ;
98import { defaultLLMs } from '#llm/services/defaultLlms' ;
109import type { AgentLLMs } from '#shared/agent/agent.model' ;
10+ import { getProjectInfo } from '#swe/projectDetection' ;
1111
1212async 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 } ) ;
You can’t perform that action at this time.
0 commit comments