new features

This commit is contained in:
Mark Gregory
2026-11-17 15:35:04 +00:00
parent 71972cd843
commit d1a1b454f6
18 changed files with 2598 additions and 112 deletions
+4
View File
@@ -224,6 +224,7 @@ struct MCPSettings: View {
@AppStorage("mcpExecutable") private var executable = ""
@AppStorage("mcpArguments") private var launchArguments = ""
@AppStorage("builtInWebEnabled") private var builtInWebEnabled = true
@AppStorage("automaticChatWebSearch") private var automaticChatWebSearch = true
@AppStorage("webSearchEndpoint") private var webSearchEndpoint = ""
@AppStorage("mcpConfigPath") private var configPath = ""
@State private var token = ""
@@ -288,6 +289,9 @@ struct MCPSettings: View {
Label("Web Search & Page Retrieval", systemImage: "globe")
}
.onChange(of: builtInWebEnabled) { _, _ in studio.restoreToolsets() }
Toggle("Automatically search the web for general chat questions", isOn: $automaticChatWebSearch)
.disabled(!builtInWebEnabled)
.help("Sends the question to the search provider. Explicit searches still work with this option off.")
if studio.mcpConnections[.web]?.toolset != nil {
Button("Inspect Web Tools") { selected = .web }
}