diff --git a/crates/local-deployment/src/container.rs b/crates/local-deployment/src/container.rs index 0a5e2040..1fd14148 100644 --- a/crates/local-deployment/src/container.rs +++ b/crates/local-deployment/src/container.rs @@ -78,7 +78,7 @@ pub struct LocalContainerService { impl LocalContainerService { // Max cumulative content bytes allowed per diff stream - const MAX_CUMULATIVE_DIFF_BYTES: usize = 50 * 1024; // 50KB + const MAX_CUMULATIVE_DIFF_BYTES: usize = 150 * 1024; // 150KB // Apply stream-level omit policy based on cumulative bytes. // If adding this diff's contents exceeds the cap, strip contents and set stats. diff --git a/crates/services/src/services/git.rs b/crates/services/src/services/git.rs index db20669c..f07bf74a 100644 --- a/crates/services/src/services/git.rs +++ b/crates/services/src/services/git.rs @@ -44,7 +44,7 @@ pub struct GitService {} // Max inline diff size for UI (in bytes). Files larger than this will have // their contents omitted from the diff stream to avoid UI crashes. -const MAX_INLINE_DIFF_BYTES: usize = 50 * 1024; // ~50KB +const MAX_INLINE_DIFF_BYTES: usize = 150 * 1024; // ~150KB #[derive(Debug, Clone, Serialize, Deserialize, TS, PartialEq, Eq)] #[serde(rename_all = "snake_case")]