Skip to content

Commit 18a7020

Browse files
committed
Fix migration
1 parent e6685e9 commit 18a7020

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Core/Sources/HostApp/AccountSettings/ChatModelManagement/ChatModelManagementView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ struct ChatModelManagementView: View {
77

88
var body: some View {
99
WithPerceptionTracking {
10-
AIModelManagementView<ChatModelManagement, _>(store: store)
10+
AIModelManagementView<ChatModelManagement, ChatModelManagement.Model>(store: store)
1111
.sheet(item: $store.scope(
1212
state: \.editingModel,
1313
action: \.chatModelItem

Core/Sources/HostApp/AccountSettings/EmbeddingModelManagement/EmbeddingModelManagementView.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import ComposableArchitecture
33
import SwiftUI
44

55
struct EmbeddingModelManagementView: View {
6-
let store: StoreOf<EmbeddingModelManagement>
6+
@Perception.Bindable var store: StoreOf<EmbeddingModelManagement>
77

88
var body: some View {
99
WithPerceptionTracking {
@@ -78,3 +78,4 @@ class EmbeddingModelManagementView_Previews: PreviewProvider {
7878
)
7979
}
8080
}
81+

0 commit comments

Comments
 (0)