Skip to content

Commit d38a481

Browse files
committed
Add description to the function calling toggle
1 parent 74cc12d commit d38a481

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,13 @@ struct ChatModelEditView: View {
115115
"Supports Function Calling",
116116
isOn: viewStore.$supportsFunctionCalling
117117
)
118+
119+
Text(
120+
"Function calling is required by some features, if this model doesn't support function calling, you should turn it off to avoid undefined behaviors."
121+
)
122+
.foregroundColor(.secondary)
123+
.font(.callout)
124+
.dynamicHeightTextInFormWorkaround()
118125
}
119126
}
120127

0 commit comments

Comments
 (0)