Add review workflows, tree-shaped workflows and a workflow editor

This commit is contained in:
Ian Gulliver
2026-10-20 18:52:04 -07:00
parent 9869fad988
commit f2188c53eb
31 changed files with 2179 additions and 863 deletions
-12
View File
@@ -37,18 +37,6 @@ struct SettingsView: View {
ModelMenu(current: store.defaultModel, help: "Model for new tasks") { m in
try await store.api.client.updateDefaultModel(body: .json(.init(model: m))).ok.body.json
}
if let me = store.me {
heading("Review models")
Text("The first model reviews your tasks' work. The second reviews work the first model wrote.")
.foregroundStyle(Palette.muted)
.fixedSize(horizontal: false, vertical: true)
ModelMenu(current: me.reviewModel, help: "Model that reviews your tasks") { m in
try await store.api.client.updateReviewModels(body: .json(.init(reviewModel: m, secondReviewModel: me.secondReviewModel))).ok.body.json
}
ModelMenu(current: me.secondReviewModel, help: "Model that reviews work the first review model wrote") { m in
try await store.api.client.updateReviewModels(body: .json(.init(reviewModel: me.reviewModel, secondReviewModel: m))).ok.body.json
}
}
heading("iCloud sync")
SyncState()
heading("This Mac's permissions")