feat: add enabled field to LLMConfig
This commit is contained in:
@@ -651,7 +651,8 @@ class SecondActivity : AppCompatActivity() {
|
||||
val name: String,
|
||||
val baseUrl: String,
|
||||
val apiKey: String,
|
||||
val model: String
|
||||
val model: String,
|
||||
val enabled: Boolean = true
|
||||
)
|
||||
|
||||
data class NoteApiConfig(
|
||||
@@ -661,7 +662,7 @@ class SecondActivity : AppCompatActivity() {
|
||||
)
|
||||
|
||||
data class SettingsData(
|
||||
val llmConfigs: List<LLMConfig>?,
|
||||
val llmConfigs: List<LLMConfig>,
|
||||
val selectedLlmIndex: Int?,
|
||||
val headerConfigs: List<HeaderConfig>?,
|
||||
val promptConfigs: List<PromptConfig>?,
|
||||
|
||||
Reference in New Issue
Block a user