@gencode/server 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +6 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @gencode/server
|
|
2
2
|
|
|
3
|
+
## 0.4.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1dadb7f: `aimax run` 现在支持按单次任务配置模型采样参数:`--temperature`、`--top-k`、`--top-p`,也可以通过 `AIMAX_TEMPERATURE`、`AIMAX_TOP_K`、`AIMAX_TOP_P` 设置默认值。`aimax-server` 的 `POST /run` 同步支持在 `run.temperature`、`run.topK`、`run.topP` 中传入这些值;未配置时不会向模型请求额外注入采样字段。
|
|
8
|
+
- Updated dependencies [aae9c3f]
|
|
9
|
+
- Updated dependencies [1dadb7f]
|
|
10
|
+
- Updated dependencies [18c5760]
|
|
11
|
+
- Updated dependencies [2c7e63a]
|
|
12
|
+
- @gencode/agents@0.20.1
|
|
13
|
+
- @gencode/cli@0.17.3
|
|
14
|
+
- @gencode/uni@0.3.1
|
|
15
|
+
|
|
3
16
|
## 0.4.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -50,7 +50,9 @@ type ServerRunRequest = {
|
|
|
50
50
|
`POST /run` accepts the same run options as `aimax run` under `run`, using the
|
|
51
51
|
CLI `RunOptions` camelCase field names. For example, `--session-id` becomes
|
|
52
52
|
`sessionId`, `--resume-request-id` becomes `resumeRequestId`, and
|
|
53
|
-
`--resume-input-json` becomes `resumeInputJson`.
|
|
53
|
+
`--resume-input-json` becomes `resumeInputJson`. Model sampling flags are also
|
|
54
|
+
passed this way: `--temperature`, `--top-k`, and `--top-p` become
|
|
55
|
+
`temperature`, `topK`, and `topP`.
|
|
54
56
|
|
|
55
57
|
When a valid run is accepted, the server responds immediately with HTTP `202`.
|
|
56
58
|
The response only acknowledges that the one-shot run was accepted; task progress
|
|
@@ -78,6 +80,9 @@ For structured message input, pass `run.messages` instead of encoding JSON into
|
|
|
78
80
|
{
|
|
79
81
|
"run": {
|
|
80
82
|
"dataDir": "/data/user1",
|
|
83
|
+
"temperature": "0.2",
|
|
84
|
+
"topK": "40",
|
|
85
|
+
"topP": "0.9",
|
|
81
86
|
"messages": [
|
|
82
87
|
{
|
|
83
88
|
"role": "user",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gencode/server",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"aimax-server": "./dist/bin.js"
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@gencode/agents": "0.20.
|
|
23
|
-
"@gencode/uni": "0.3.
|
|
24
|
-
"@gencode/cli": "0.17.
|
|
22
|
+
"@gencode/agents": "0.20.1",
|
|
23
|
+
"@gencode/uni": "0.3.1",
|
|
24
|
+
"@gencode/cli": "0.17.3"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^22.0.0",
|