Skip to content

Commit

Permalink
1.2.21
Browse files Browse the repository at this point in the history
  • Loading branch information
acharneski committed Nov 17, 2023
1 parent 01ce74a commit b83a60b
Show file tree
Hide file tree
Showing 12 changed files with 206 additions and 166 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@

## [Unreleased]

## [1.2.21]

### Improved

- Code Chat UI

### Fixed

- Fixed settings for service port

## [1.2.19]

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repositories {
val kotlin_version = "1.9.20"
val jetty_version = "11.0.18"
val slf4j_version = "2.0.9"
val skyenet_version = "1.0.30"
val skyenet_version = "1.0.31"
dependencies {

implementation(group = "com.simiacryptus", name = "joe-penai", version = "1.0.28")
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pluginName=intellij-aicoder
pluginRepositoryUrl=https://github.com/SimiaCryptus/intellij-aicoder
# SemVer format -> https://semver.org
pluginVersion=1.2.20
pluginVersion=1.2.21
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
#pluginSinceBuild = 203
pluginSinceBuild=231
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,34 +66,46 @@ class AppSettingsState : PersistentStateComponent<SimpleEnvelope> {

override fun equals(other: Any?): Boolean {
if (this === other) return true
if (other == null || javaClass != other.javaClass) return false
val that = other as AppSettingsState
if (that.temperature.compareTo(temperature) != 0) return false
if (humanLanguage != that.humanLanguage) return false
if (apiBase != that.apiBase) return false
if (apiKey != that.apiKey) return false
if (modelName != that.modelName) return false
if (apiLog != that.apiLog) return false
if (devActions != that.devActions) return false
if (editRequests != that.editRequests) return false
if (editorActions != that.editorActions) return false
if (javaClass != other?.javaClass) return false

other as AppSettingsState

if (listeningPort != other.listeningPort) return false
if (listeningEndpoint != other.listeningEndpoint) return false
if (modalTasks != other.modalTasks) return false
if (suppressErrors != other.suppressErrors) return false
if (apiLog != other.apiLog) return false
if (apiBase != other.apiBase) return false
if (apiKey != other.apiKey) return false
if (temperature != other.temperature) return false
if (modelName != other.modelName) return false
if (tokenCounter != other.tokenCounter) return false
if (humanLanguage != other.humanLanguage) return false
if (devActions != other.devActions) return false
if (editRequests != other.editRequests) return false
if (apiThreads != other.apiThreads) return false

return true
}

override fun hashCode(): Int {
return Objects.hash(
apiBase,
apiKey,
temperature,
modelName,
apiLog,
devActions,
editRequests,
editorActions
)
var result = listeningPort
result = 31 * result + listeningEndpoint.hashCode()
result = 31 * result + modalTasks.hashCode()
result = 31 * result + suppressErrors.hashCode()
result = 31 * result + apiLog.hashCode()
result = 31 * result + apiBase.hashCode()
result = 31 * result + apiKey.hashCode()
result = 31 * result + temperature.hashCode()
result = 31 * result + modelName.hashCode()
result = 31 * result + tokenCounter
result = 31 * result + humanLanguage.hashCode()
result = 31 * result + devActions.hashCode()
result = 31 * result + editRequests.hashCode()
result = 31 * result + apiThreads
return result
}


companion object {
@JvmStatic
val instance: AppSettingsState by lazy {
Expand Down
Loading

0 comments on commit b83a60b

Please sign in to comment.