Commit Graph

6 Commits

Author SHA1 Message Date
Fan
bdf946a321 fix config (#163)
Co-authored-by: test <test@gmail.com>
2025-08-01 01:24:33 +08:00
Fan
dc6dcea93d Update: add telemetry service (#161)
* init: telemetry for qwen code

* fix

* update
2025-07-31 21:12:22 +08:00
Fan
df5c4e8079 Update: compress/hard constrained token usage (#136)
* setup truncation & folder structure

* fix: xml in prompt; qwen code in stats page

* fix: clear & continue logic

* preflight

* add maxSessionLimit in README
2025-07-30 18:14:24 +08:00
pomelo
bd0d3479c1 feat: Add systemPromptMappings Configuration Feature (#108)
* feat: update system prompt for qwen3-coder

* feat: add default systemPromptMappings for Qwen models

- Add default systemPromptMappings configuration for qwen3-coder-plus model
- Support DashScope compatible mode API endpoints
- Include Qwen coder system prompt template with git repository and sandbox placeholders
- Add comprehensive test coverage for default and custom systemPromptMappings
- Update documentation to reflect the new default configuration behavior
- Ensure backward compatibility with existing user configurations

* feat: remove default system prompt template

* fix: test ci

* feat: handle code indentation issues

* feat: update prompt.test.snapshots

* feat: add URL trailing slash compatibility for system prompt mappings

- Add normalizeUrl() function to standardize URLs by removing trailing slashes
- Add urlMatches() function to compare URLs ignoring trailing slash differences
- Replace direct includes() comparison with urlMatches() for baseUrl matching
- Add comprehensive tests to verify URL matching with/without trailing slashes
- Fixes issue where URLs like 'https://api.example.com' and 'https://api.example.com/' were treated as different

* feat: update code
2025-07-29 13:11:41 +08:00
Fan
40ee936453 run preflight (#55) 2025-07-23 01:18:31 -07:00
koalazf.99
a9d6965bef pre-release commit 2025-07-22 23:26:01 +08:00