Skip to content

Commit b82d9b3

Browse files
lsy357yiyou-byte
andauthored
[feat][all] Release v1.5.1 (#398)
* feat(all): release v1.5.0 * fix(evaluation): clickhouse ddl * chore: 调整 go 语法正则 * feat(all): release v1.5.1 --------- Co-authored-by: houtao.zzj <houtao.zzj@bytedance.com>
1 parent 57ae7ad commit b82d9b3

6 files changed

Lines changed: 18 additions & 12 deletions

File tree

frontend/packages/loop-components/prompt-components-v2/src/components/prompt-develop/components/variables-card/variable-modal.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,16 +198,16 @@ export function VariableValueInput({
198198
value={value}
199199
onChange={v => {
200200
// 使用正则表达式检查是否为有效数字(不包括科学记数法)
201-
const isValidNumber = /^-?\d*\.?\d*$/.test(`${v}`);
201+
const isValidNumber = /^-?(?:\d+\.?\d*|\.\d+)$/.test(`${v}`);
202202
if (!isValidNumber) {
203-
formApi?.setError(
203+
formApi?.setError?.(
204204
'value',
205205
I18n.t(
206206
'the_input_does_not_match_the_field_definition_of_the_column',
207207
),
208208
); // 设置错误信息
209209
} else {
210-
formApi?.setError('value', ''); // 清除错误信息
210+
formApi?.setError?.('value', ''); // 清除错误信息
211211
}
212212
onChange?.(`${v}`);
213213
}}

release/deployment/docker-compose/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
COZE_LOOP_APP_IMAGE_REGISTRY=docker.io
33
COZE_LOOP_APP_IMAGE_REPOSITORY=cozedev
44
COZE_LOOP_APP_IMAGE_NAME=coze-loop
5-
COZE_LOOP_APP_IMAGE_TAG=1.4.1
5+
COZE_LOOP_APP_IMAGE_TAG=1.5.1
66
COZE_LOOP_APP_OPENAPI_PORT=8888
77
COZE_LOOP_APP_DEBUG_PORT=40000
88
COZE_LOOP_PYTHON_FAAS_IMAGE_REGISTRY=docker.io

release/deployment/docker-compose/bootstrap/clickhouse-init/init-sql/evaluation.sql

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,7 @@ CREATE TABLE IF NOT EXISTS expt_turn_result_filter
2929
ENGINE = ReplacingMergeTree(updated_at)
3030
PARTITION BY created_date
3131
ORDER BY (expt_id, item_id, turn_id)
32-
SETTINGS index_granularity = 8192;
32+
SETTINGS index_granularity = 8192;
33+
ALTER TABLE expt_turn_result_filter
34+
ADD COLUMN IF NOT EXISTS `eval_target_metrics` Map(String, Int64)
35+
AFTER `updated_at`;

release/deployment/helm-chart/charts/app/bootstrap/init/clickhouse/init-sql/evaluation.sql

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@ CREATE TABLE IF NOT EXISTS expt_turn_result_filter
2525
INDEX idx_expt_id expt_id TYPE bloom_filter() GRANULARITY 1,
2626
INDEX idx_item_id item_id TYPE bloom_filter() GRANULARITY 1,
2727
INDEX idx_turn_id turn_id TYPE bloom_filter() GRANULARITY 1
28-
)
29-
ENGINE = ReplacingMergeTree(updated_at)
30-
PARTITION BY created_date
31-
ORDER BY (expt_id, item_id, turn_id)
32-
SETTINGS index_granularity = 8192;
28+
)
29+
ENGINE = ReplacingMergeTree(updated_at)
30+
PARTITION BY created_date
31+
ORDER BY (expt_id, item_id, turn_id)
32+
SETTINGS index_granularity = 8192;
33+
ALTER TABLE expt_turn_result_filter
34+
ADD COLUMN IF NOT EXISTS `eval_target_metrics` Map(String, Int64)
35+
AFTER `updated_at`;

release/deployment/helm-chart/charts/app/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ image:
77
registry: "docker.io"
88
repository: "cozedev"
99
image: "coze-loop"
10-
tag: "1.4.1"
10+
tag: "1.5.1"
1111
pullPolicy: Always
1212
pullSecrets: "coze-loop-image-secret"
1313

release/deployment/helm-chart/charts/nginx/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ init_image:
1616
registry: "docker.io"
1717
repository: "cozedev"
1818
image: "coze-loop"
19-
tag: "1.4.1"
19+
tag: "1.5.1"
2020
pullSecrets: "coze-loop-image-secret"
2121

2222
deployment:

0 commit comments

Comments
 (0)