Commit Graph

22 Commits

Author SHA1 Message Date
pomelo-nwu
8f46ee78b5 feat: update code 2025-07-28 16:51:49 +08:00
pomelo-nwu
beb5b7ff57 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
2025-07-28 14:18:10 +08:00
pomelo-nwu
075f66fe13 feat: update prompt.test.snapshots 2025-07-25 14:22:20 +08:00
pomelo-nwu
90dc53f365 feat: handle code indentation issues 2025-07-25 14:13:28 +08:00
pomelo-nwu
2b1e4c995e fix: test ci 2025-07-25 13:32:57 +08:00
pomelo-nwu
eacb464a5b feat: remove default system prompt template 2025-07-25 13:17:54 +08:00
pomelo-nwu
782e9d2314 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
2025-07-25 12:23:37 +08:00
pomelo-nwu
09bafda05b feat: update system prompt for qwen3-coder 2025-07-24 22:29:15 +08:00
pomelo
b8e2891f3b Merge pull request #102 from QwenLM/feature/fan/fix-token-usage
fix: streaming token usage
2025-07-24 20:30:47 +08:00
koalazf.99
c00df172a2 fix: streaming token usage 2025-07-24 20:19:52 +08:00
koalazf.99
3b7e2e34d2 update: add token reminder in readme 2025-07-24 00:07:31 +08:00
koalazf.99
01d88eef4d add instructions for dashscope API configuration 2025-07-23 17:47:41 +08:00
Fan
40ee936453 run preflight (#55) 2025-07-23 01:18:31 -07:00
Nan Li
173246723e fix: resolve RadioButtonSelect array bounds crash and auth dialog navigation (#46)
- Add bounds checking in RadioButtonSelect to prevent accessing undefined array elements
- Add useEffect to ensure activeIndex stays within valid bounds when items array changes
- Add validation guards around navigation handlers (up/down arrow keys)
- Fix AuthDialog initialAuthIndex calculation to prevent negative values from findIndex
- Ensure Enter key works properly on authentication screen

Fixes TypeError: Cannot read properties of undefined (reading 'value') that occurred
when activeIndex was out of bounds due to dynamic array changes or invalid initialization.

Signed-off-by: loheagn <loheagn@icloud.com>
Co-authored-by: linan.loheagn3 <linan.loheagn3@bytedance.com>
2025-07-23 14:15:35 +08:00
奕桁
e4a3f2656e update png 2025-07-22 14:27:43 -07:00
Yiheng Xu
f8e55596c8 Update README.md 2025-07-22 13:02:12 -07:00
Yiheng Xu
d6fd2d472b Update README.md 2025-07-22 09:57:08 -07:00
Fan
daad04613e pre-release: fix ci (#1)
* fix aoneci

* remove codeql

* sync version to 0.0.1-alpha.7

* renaming org to qwen-code
2025-07-22 09:27:14 -07:00
Yiheng Xu
13c0b24110 Update README.md 2025-07-22 08:32:58 -07:00
koalazf.99
a9d6965bef pre-release commit 2025-07-22 23:26:01 +08:00
Binyuan Hui
c5dee4bb17 Update README.md 2025-06-26 09:38:11 +08:00
Binyuan Hui
71f8c070ec Initial commit 2025-06-26 09:37:46 +08:00