Skip to content

Commit bdb8ee0

Browse files
committed
WIP
1 parent c6a870a commit bdb8ee0

4 files changed

Lines changed: 18 additions & 2 deletions

File tree

Core/Sources/HostApp/AccountSettings/AzureView.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ struct AzureView: View {
4848
let reply =
4949
try await ChatGPTService(
5050
configuration: UserPreferenceChatGPTConfiguration()
51-
.overriding(.init(featureProvider: .azureOpenAI))
5251
)
5352
.sendAndWait(content: "Hello", summary: nil)
5453
toast("ChatGPT replied: \(reply ?? "N/A")", .info)
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import SwiftUI
2+
import Keychain
3+
import ComposableArchitecture
4+
import AIModel
5+
6+
struct ChatModelManagement: ReducerProtocol {
7+
struct State: Equatable {
8+
var models: [ChatModel]
9+
}
10+
}
11+
12+
struct ChatModelView: View {
13+
var body: some View {
14+
15+
}
16+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import SwiftUI
2+
import Keychain

Core/Sources/HostApp/AccountSettings/OpenAIView.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ struct OpenAIView: View {
5353
let reply =
5454
try await ChatGPTService(
5555
configuration: UserPreferenceChatGPTConfiguration()
56-
.overriding(.init(featureProvider: .openAI))
5756
)
5857
.sendAndWait(content: "Hello", summary: nil)
5958
toast("ChatGPT replied: \(reply ?? "N/A")", .info)

0 commit comments

Comments
 (0)