@@ -11,6 +11,7 @@ final class DebugSettings: ObservableObject {
1111 @AppStorage ( \. alwaysAcceptSuggestionWithAccessibilityAPI)
1212 var alwaysAcceptSuggestionWithAccessibilityAPI
1313 @AppStorage ( \. enableXcodeInspectorDebugMenu) var enableXcodeInspectorDebugMenu
14+ @AppStorage ( \. disableFunctionCalling) var disableFunctionCalling
1415 init ( ) { }
1516}
1617
@@ -21,13 +22,13 @@ struct DebugSettingsView: View {
2122 ScrollView {
2223 Form {
2324 Toggle ( isOn: $settings. animationACrashSuggestion) {
24- Text ( " Enable Animation A " )
25+ Text ( " Enable animation A " )
2526 }
2627 Toggle ( isOn: $settings. animationBCrashSuggestion) {
27- Text ( " Enable Animation B " )
28+ Text ( " Enable animation B " )
2829 }
2930 Toggle ( isOn: $settings. animationCCrashSuggestion) {
30- Text ( " Enable Widget Breathing Animation " )
31+ Text ( " Enable widget breathing animation " )
3132 }
3233 Toggle ( isOn: $settings. preCacheOnFileOpen) {
3334 Text ( " Cache editor information on file open " )
@@ -39,11 +40,14 @@ struct DebugSettingsView: View {
3940 Text ( " Trigger command with AccessibilityAPI " )
4041 }
4142 Toggle ( isOn: $settings. alwaysAcceptSuggestionWithAccessibilityAPI) {
42- Text ( " Always accept suggestion with AccessibilityAPI " )
43+ Text ( " Always accept suggestion with Accessibility API " )
4344 }
4445 Toggle ( isOn: $settings. enableXcodeInspectorDebugMenu) {
4546 Text ( " Enable Xcode inspector debug menu " )
4647 }
48+ Toggle ( isOn: $settings. disableFunctionCalling) {
49+ Text ( " Disable function calling for chat feature " )
50+ }
4751 }
4852 . padding ( )
4953 }
0 commit comments