Skip to content

Commit f4a5d46

Browse files
authored
chore(release): version 2.0.9 (#627)
* chore(release): version 2.0.9 * fix(i18n): update error messages for HTTP 413 status code
1 parent 3b85da0 commit f4a5d46

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# CoStrict Change Log
22

3+
## [2.0.9]
4+
5+
- Update userinfo
6+
- Optimize tools prompts
7+
- Add 413 error handle
8+
- Update mcp handle
9+
- Optimize auto completion
10+
- Optimize log output
11+
- Sync roocode [last commit](https://github.com/zgsm-ai/costrict/commit/63b4a785c1f31a4fc1c05968ae58d9dc02453e24)
12+
- Fix known issues
13+
314
## [2.0.8]
415

516
- Add mode parameter to ZgsmAiHandler

src/i18n/costrict-i18n/locales/en/apiErrors.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"400": "1. End the current task and start a new one\n2. Try a different model\n3. Contact the administrator",
2020
"403": "1. Check permission settings\n2. Try a different model\n3. Contact the administrator",
2121
"404": "1. Check if the request path or resource exists\n2. Contact the administrator",
22-
"413": "1. Break down long contexts into smaller tasks for processing\n2. Try a different model\n3. Contact the administrator",
22+
"413": "1. Split tasks into smaller for processing\n2. Try a different model\n3. Contact the administrator",
2323
"429": "1. Please try again later\n2. End the current task and start a new one\n3. Contact the administrator",
2424
"500": "1. Please try again later\n2. Try switching models\n3. Contact the administrator",
2525
"502": "1. Please try again later\n2. Try switching models\n3. Contact the administrator",

src/i18n/costrict-i18n/locales/en/common.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
"400": "Request parameter error",
140140
"403": "Forbidden access",
141141
"404": "Resource not found",
142-
"413": "Context Too Large",
142+
"413": "Payload Too Large",
143143
"429": "API rate limit exceeded",
144144
"500": "Service error",
145145
"502": "Gateway error",
@@ -153,7 +153,7 @@
153153
"400": "Please check request parameters",
154154
"403": "Please check permissions",
155155
"404": "Please check request path and resource existence",
156-
"413": "Break down long contexts into smaller tasks for processing",
156+
"413": "Split tasks into smaller for processing",
157157
"429": "Please try again later/contact administrator",
158158
"500": "Please try again later/contact administrator",
159159
"502": "Please try again later/contact administrator",

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "%extension.displayName.long%",
44
"description": "%extension.description%",
55
"publisher": "zgsm-ai",
6-
"version": "2.0.8",
6+
"version": "2.0.9",
77
"icon": "assets/images/shenma_robot_logo_big.png",
88
"galleryBanner": {
99
"color": "#617A91",

0 commit comments

Comments
 (0)