You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve test patterns for QwenImage long prompt warning
- Fix test_long_prompt_warning to properly trigger the 512-token warning
- Replace inefficient wall-of-text approach with elegant hardcoded multiplier
- Use precise token counting to ensure required_len > _current_max_len threshold
- Add runtime assertion for test robustness and maintainability
- Fix max_sequence_length validation error in test_long_prompt_no_error
0 commit comments