Commit 2e69c50
committed
fix: replace incorrect rstrip('/v1') with endswith check to prevent URL truncation; add English README
- rstrip('/v1') strips individual chars from the set {'/', 'v', '1'}, which silently corrupts URLs
(e.g. api.openai.com -> api.openai.co). Replaced all 5 occurrences with proper endswith('/v1')
suffix removal in config_routes, text_client, openai_compatible, and image_api modules.
- Replace bare except clause with except Exception in history service.
- Add README_EN.md and language toggle links for internationalization.1 parent 4d48722 commit 2e69c50
7 files changed
Lines changed: 440 additions & 6 deletions
File tree
- backend
- generators
- routes
- services
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
0 commit comments