All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.simiacryptus.skyenet.apps.plan.PlanSettings.kt Maven / Gradle / Ivy

There is a newer version: 1.2.21
Show newest version
package com.simiacryptus.skyenet.apps.plan

import com.simiacryptus.jopenai.models.OpenAITextModel
import com.simiacryptus.skyenet.apps.plan.PlanUtil.isWindows

data class PlanSettings(
    var model: OpenAITextModel,
    val parsingModel: OpenAITextModel,
    val command: List = listOf(if (isWindows) "powershell" else "bash"),
    var temperature: Double = 0.2,
    val budget: Double = 2.0,
    var taskPlanningEnabled: Boolean = false,
    var shellCommandTaskEnabled: Boolean = false,
    var documentationEnabled: Boolean = false,
    var fileModificationEnabled: Boolean = true,
    var inquiryEnabled: Boolean = true,
    var codeReviewEnabled: Boolean = false,
    var testGenerationEnabled: Boolean = false,
    var optimizationEnabled: Boolean = false,
    var securityAuditEnabled: Boolean = false,
    var performanceAnalysisEnabled: Boolean = false,
    var refactorTaskEnabled: Boolean = false,
    var foreachTaskEnabled: Boolean = false,
    var autoFix: Boolean = false,
    var enableCommandAutoFix: Boolean = false,
    var commandAutoFixCommands: List? = listOf(),
    val env: Map? = mapOf(),
    val workingDir: String? = ".",
    val language: String? = if (isWindows) "powershell" else "bash",
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy