diff --git a/crates/goose-mcp/Cargo.toml b/crates/goose-mcp/Cargo.toml index 1fd2ac7f5bd2..9e8660597385 100644 --- a/crates/goose-mcp/Cargo.toml +++ b/crates/goose-mcp/Cargo.toml @@ -26,7 +26,7 @@ schemars = "1.0" shellexpand = "3.1.0" indoc = "2.0.5" xcap = "=0.4.0" -reqwest = { workspace = true, features = ["json", "rustls-tls-native-roots"], default-features = false } +reqwest = { workspace = true, features = ["json", "rustls-tls-native-roots", "system-proxy"], default-features = false } chrono = { version = "0.4.38", features = ["serde"] } etcetera = { workspace = true } tempfile = "3.8" diff --git a/crates/goose-server/Cargo.toml b/crates/goose-server/Cargo.toml index 9a159d29cc51..df35bb5bad0c 100644 --- a/crates/goose-server/Cargo.toml +++ b/crates/goose-server/Cargo.toml @@ -38,7 +38,7 @@ thiserror = "1.0" clap = { version = "4.4", features = ["derive"] } serde_yaml = "0.9.34" utoipa = { version = "4.1", features = ["axum_extras", "chrono"] } -reqwest = { workspace = true, features = ["json", "rustls-tls", "blocking", "multipart"], default-features = false } +reqwest = { workspace = true, features = ["json", "rustls-tls", "blocking", "multipart", "system-proxy"], default-features = false } tokio-util = "0.7.15" serde_path_to_error = "0.1.20" tokio-tungstenite = { version = "0.28.0", features = ["rustls-tls-native-roots"] } diff --git a/crates/goose/Cargo.toml b/crates/goose/Cargo.toml index 3da0200a5710..63d5f1f71e30 100644 --- a/crates/goose/Cargo.toml +++ b/crates/goose/Cargo.toml @@ -19,6 +19,7 @@ tokio = { workspace = true } reqwest = { workspace = true, features = [ "json", "rustls-tls-native-roots", + "system-proxy", ], default-features = false } [dependencies] @@ -34,7 +35,7 @@ anyhow = { workspace = true } thiserror = "1.0" futures = { workspace = true } dirs = "5.0" -reqwest = { workspace = true, features = ["rustls-tls-native-roots", "json", "cookies", "gzip", "brotli", "deflate", "zstd", "charset", "http2", "stream", "blocking", "multipart"], default-features = false } +reqwest = { workspace = true, features = ["rustls-tls-native-roots", "json", "cookies", "gzip", "brotli", "deflate", "zstd", "charset", "http2", "stream", "blocking", "multipart", "system-proxy"], default-features = false } tokio = { workspace = true } serde = { version = "1.0", features = ["derive"] } serde_json = { workspace = true } diff --git a/ui/desktop/src/components/ChatInput.tsx b/ui/desktop/src/components/ChatInput.tsx index 7968d811d146..7e188c33b97a 100644 --- a/ui/desktop/src/components/ChatInput.tsx +++ b/ui/desktop/src/components/ChatInput.tsx @@ -276,9 +276,10 @@ export default function ChatInput({ ? filteredText.replace(/\bsubmit[.,!?;'"\s]*$/i, '').trim() : filteredText; - const newValue = displayValue.trim() && cleanedText - ? `${displayValue.trim()} ${cleanedText}` - : displayValue.trim() || cleanedText; + const newValue = + displayValue.trim() && cleanedText + ? `${displayValue.trim()} ${cleanedText}` + : displayValue.trim() || cleanedText; setDisplayValue(newValue); setValue(newValue); @@ -928,7 +929,6 @@ export default function ChatInput({ ] ); - const handleKeyDown = (evt: React.KeyboardEvent) => { if (mentionPopover.isOpen && mentionPopoverRef.current) { if (evt.key === 'ArrowDown') { @@ -1383,9 +1383,7 @@ export default function ChatInput({ Listening )} - {isRecording && isTranscribing && ( - - )} + {isRecording && isTranscribing && } {isTranscribing && ( diff --git a/ui/desktop/src/components/McpApps/McpAppRenderer.tsx b/ui/desktop/src/components/McpApps/McpAppRenderer.tsx index 1c9d8fab6ccc..6e562462cacd 100644 --- a/ui/desktop/src/components/McpApps/McpAppRenderer.tsx +++ b/ui/desktop/src/components/McpApps/McpAppRenderer.tsx @@ -85,7 +85,13 @@ export default function McpAppRenderer({ if (response.data) { const content = response.data; const meta = content._meta as - | { ui?: { csp?: CspMetadata; permissions?: PermissionsMetadata; prefersBorder?: boolean } } + | { + ui?: { + csp?: CspMetadata; + permissions?: PermissionsMetadata; + prefersBorder?: boolean; + }; + } | undefined; if (content.text !== cachedHtml) { diff --git a/ui/desktop/src/components/McpApps/types.ts b/ui/desktop/src/components/McpApps/types.ts index 3e70f48e772a..28a397038c81 100644 --- a/ui/desktop/src/components/McpApps/types.ts +++ b/ui/desktop/src/components/McpApps/types.ts @@ -1,4 +1,8 @@ -export type { CspMetadata, PermissionsMetadata, CallToolResponse as ToolResult } from '../../api/types.gen'; +export type { + CspMetadata, + PermissionsMetadata, + CallToolResponse as ToolResult, +} from '../../api/types.gen'; export type ContentBlock = | { type: 'text'; text: string } diff --git a/ui/desktop/src/components/settings/dictation/LocalModelManager.tsx b/ui/desktop/src/components/settings/dictation/LocalModelManager.tsx index a119c3a7685b..281f0ebc74c9 100644 --- a/ui/desktop/src/components/settings/dictation/LocalModelManager.tsx +++ b/ui/desktop/src/components/settings/dictation/LocalModelManager.tsx @@ -66,8 +66,8 @@ export const LocalModelManager = () => { }; const selectModel = async (modelId: string) => { - await upsert(LOCAL_WHISPER_MODEL_CONFIG_KEY, modelId, false); - setSelectedModelId(modelId); + await upsert(LOCAL_WHISPER_MODEL_CONFIG_KEY, modelId, false); + setSelectedModelId(modelId); }; const loadModels = async () => { @@ -151,7 +151,10 @@ export const LocalModelManager = () => { return (
-

Supports GPU acceleration (CUDA for NVIDIA, Metal for Apple Silicon). GPU features must be enabled at build time for hardware acceleration.

+

+ Supports GPU acceleration (CUDA for NVIDIA, Metal for Apple Silicon). GPU features must be + enabled at build time for hardware acceleration. +

@@ -184,9 +187,7 @@ export const LocalModelManager = () => {

{capitalize(model.id)}

- - {model.size_mb}MB - + {model.size_mb}MB {model.recommended && ( Recommended @@ -199,9 +200,7 @@ export const LocalModelManager = () => { )}
-

- {model.description} -

+

{model.description}

{model.recommended && (

Recommended for your hardware @@ -230,11 +229,7 @@ export const LocalModelManager = () => {

{progress.progress_percent.toFixed(0)}%
- @@ -259,9 +254,7 @@ export const LocalModelManager = () => { {formatBytes(progress.bytes_downloaded)} / {formatBytes(progress.total_bytes)} - {progress.speed_bps && ( - {formatBytes(progress.speed_bps)}/s - )} + {progress.speed_bps && {formatBytes(progress.speed_bps)}/s}
)} @@ -296,9 +289,7 @@ export const LocalModelManager = () => { )} {models.length === 0 && ( -
- No models available -
+
No models available
)} );