File tree Expand file tree Collapse file tree
Core/Sources/HostApp/AccountSettings/EmbeddingModelManagement Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ struct EmbeddingModelEdit: ReducerProtocol {
4646 Scope ( state: \. apiKeySelection, action: / Action. apiKeySelection) {
4747 APIKeySelection ( )
4848 }
49-
49+
5050 Scope ( state: \. baseURLSelection, action: / Action. baseURLSelection) {
5151 BaseURLSelection ( )
5252 }
@@ -123,7 +123,7 @@ struct EmbeddingModelEdit: ReducerProtocol {
123123
124124 case . apiKeySelection:
125125 return . none
126-
126+
127127 case . baseURLSelection:
128128 return . none
129129
@@ -151,6 +151,7 @@ extension EmbeddingModelEdit.State {
151151 id: model. id,
152152 name: model. name,
153153 format: model. format,
154+ maxTokens: model. info. maxTokens,
154155 modelName: model. info. modelName,
155156 apiKeySelection: . init(
156157 apiKeyName: model. info. apiKeyName,
You can’t perform that action at this time.
0 commit comments