Skip to content

Commit f2ef1a3

Browse files
committed
Run workflows sys setup on setting up
1 parent 7bf2005 commit f2ef1a3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/kotlin/ai/devchat/idea/DevChatSetupThread.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package ai.devchat.idea
22

33
import ai.devchat.cli.DevChatConfig
4+
import ai.devchat.cli.DevChatWrapper
45
import ai.devchat.cli.PythonEnvManager
56
import ai.devchat.common.DevChatPathUtil.workPath
67
import ai.devchat.common.Log
@@ -19,6 +20,7 @@ class DevChatSetupThread(private val project: Project) : Thread() {
1920
val envManager = PythonEnvManager(workPath)
2021
val devChatEnv = envManager.createEnv("devchat", "3.11.4")
2122
devChatEnv.installPackage("devchat", "0.2.10")
23+
DevChatWrapper().run(mutableListOf("update-sys" to null), null)
2224
listOf("sys", "org", "usr")
2325
.map { "$workPath/workflows/$it/requirements.txt" }
2426
.firstOrNull { File(it).exists() }

0 commit comments

Comments
 (0)