Skip to content

Commit bcc9e98

Browse files
committed
improve: increase MAX_RETRY_ATTEMPTS from 3 to 10 for better complex scenario handling
- Allows more attempts for OVSM self-healing on complex scenarios - Tested with nested structures, field access transformations - All complex scenarios now pass successfully
1 parent dfaa2ba commit bcc9e98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/streaming_agent.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ pub async fn execute_streaming_agent(query: &str, verbose: u8) -> Result<()> {
653653
// Level 2: Fix logic errors (wrong result, semantic mismatch)
654654
// ═══════════════════════════════════════════════════════════════
655655

656-
const MAX_RETRY_ATTEMPTS: u32 = 3;
656+
const MAX_RETRY_ATTEMPTS: u32 = 10;
657657

658658
let mut current_code = ovsm_code.clone();
659659
let mut attempt = 1;

0 commit comments

Comments
 (0)