Closed
Conversation
…n matching Fixes QwenLM#1760 Windows file system is case-insensitive (e:\work equals E:\work), but string hashing is case-sensitive, causing different session directories for the same physical path. Solution: normalize paths to lowercase on Windows before hashing to ensure consistent session directory across different case variations.
Ensures consistent Windows path normalization across all path hashing. Previously Storage used its own getFilePathHash() which didn't apply Windows lowercase normalization, causing test failures on Windows CI.
- Add HTML template for insights display. - Create JavaScript application logic for rendering insights. - Introduce CSS styles for layout and design. - Develop a test generator for validating the static insight generator. - Define TypeScript interfaces for structured insight data. - Refactor insight command to generate insights and open in browser. - Remove the need for a server process by generating static files directly.
- Refine DataProcessor and StaticInsightGenerator logic - Update StaticInsightTypes definitions - Enhance insight command implementation - Update package dependencies
…e-pr fix: unblock input after ESC cancel
…dealtalk-api-inner
…1305 - Add error code 1305 to RATE_LIMIT_ERROR_CODES for DashScope/IdealTalk internal rate limit detection (issue QwenLM#1918) - Add test case for 1305 error code detection - Update existing test cases to use 9999 as custom error code to avoid conflict - Remove unused sdk-java/.gitignore file Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…pt for project conventions)
…guage path priority - Add 3 tests for SubAgentScope.buildChatSystemPrompt appending userMemory - Add 3 tests for project-level output-language.md path resolution priority Made-with: Cursor
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- Add AuthDisplayType enum and helper for Coding Plan detection - Remove formatAuthType/titleizeAuthType functions - Update tests for new auth types Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- Add i18n keys for modality types and status labels - Update ModelDialog to use t() for user-facing strings Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- Update error messages for unsupported image/PDF inputs with clearer guidance - Add `modalities` setting to override auto-detected input modalities - Document `modalities` config in model-providers.md and settings.md - Update converter tests to match new error message format This provides users with actionable alternatives when their selected model doesn't support certain input types, and allows manual modality overrides for models not recognized by auto-detection. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> - Add 5MB limit for image files to prevent API errors - Add 10MB limit for PDF files based on provider constraints - Return FILE_TOO_LARGE error with clear message when limits exceeded - Add tests for both image and PDF size limit enforcement This prevents errors when attempting to process large binary files that exceed provider API limits.
Add AGENT_CONTEXT_FILENAME constant and include AGENTS.md in default context file search alongside QWEN.md. This enables out-of-the-box support for the AGENTS.md standard (https://agents.md/) without requiring manual configuration. Changes: - Add AGENT_CONTEXT_FILENAME = 'AGENTS.md' constant - Update currentGeminiMdFilename default to include both AGENTS.md and QWEN.md - AGENTS.md takes precedence (first in array) for the de facto standard Closes QwenLM#2006
- Add weighted tip system to make certain tips appear more frequently - Set /insight tip to weight 3 (3x more likely than regular tips) - Add i18n translations for the new tip across all supported languages - Add comprehensive unit tests for weighted tip selection Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…sure feat(cli): Increase /insight feature exposure via weighted tips
- Removed exact match assertion for help text that changed in UI - Test now only verifies the dialog title renders correctly The help text changed from 'Enter to select · Esc to close' to 'Enter to select, ↑↓ to navigate, Esc to close', causing the test to fail unnecessarily. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…heck - Reduce general file size limit from 20MB to 10MB (using 9.9MB threshold) - Remove per-type size limits (5MB images, 10MB PDFs) - Add base64 encoding size check for PDFs to prevent data URI limit errors - Update all tests to reflect new 10MB limit This fixes issue QwenLM#1880 where large PDFs could exceed API data URI limits after base64 encoding, causing errors. The 9.9MB threshold provides margin for encoding overhead. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> Replace generic skill suggestion with specific guidance to install the document-skills extension for PDF processing.
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
chore: bump version to 0.11.1
Keep QWEN.md as the first element in the default context filenames array to maintain backward compatibility with /init command and save_memory tool. Both QWEN.md and AGENTS.md will still be searched and loaded, but QWEN.md takes precedence for file creation operations.
…logs Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…default feat: support AGENTS.md as default context file
…anguage fix(subagent): append output-language.md to subagent system prompt and prioritize project-level settings
fix(core/rateLimit): add support for rate limit error code 1305 and custom retry error codes
…utput fix(logging): reduce excessive streaming output in session history logs
docs: update installation instructions
…error fix: add modality defaults to prevent API errors when reading PDFs and other media
Upstream workflows are removed to avoid permission issues when pushing the merge-back branch. Only sync-upstream.yml is kept. Co-Authored-By: GitHub Actions <github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔄 Sync with Upstream Repository
This PR syncs the latest changes from the official Qwen Code repository.
📊 Changes Summary
6a617f5248fd83e0b8b559610eb8ffd448f267da6a617f52Before merging this PR, please:
merge-backbranch and test the applicationgit fetch origin merge-back git checkout merge-back npm install npm run build npm test🔗 References
📝 Merge Instructions
After verifying everything:
🤖 This PR was automatically created by the sync-upstream workflow.