Agent-S
                                
                                 Agent-S copied to clipboard
                                
                                    Agent-S copied to clipboard
                            
                            
                            
                        Support parsing DAG JSON from <json>...</json> tags and json code blocks to improve the robustness of the parse_dag function.
During testing with the Qwen2.5-VL model, the JSON output is mostly wrapped inside json code blocks rather than the expected 
Issue Description:
- Qwen2.5-VL model often outputs JSON wrapped in json code blocks
- The function only recognizes JSON inside ... tags, resulting in parsing failures
Please optimize the parse_dag function to support the Qwen2.5-VL model’s output formats, improving overall stability and user experience.