File tree Expand file tree Collapse file tree
frontend/packages/loop-components/prompt-components-v2/src/components/prompt-develop/components/variables-card
bootstrap/clickhouse-init/init-sql
bootstrap/init/clickhouse/init-sql Expand file tree Collapse file tree Original file line number Diff line number Diff 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 } }
Original file line number Diff line number Diff line change 22COZE_LOOP_APP_IMAGE_REGISTRY = docker.io
33COZE_LOOP_APP_IMAGE_REPOSITORY = cozedev
44COZE_LOOP_APP_IMAGE_NAME = coze-loop
5- COZE_LOOP_APP_IMAGE_TAG = 1.4 .1
5+ COZE_LOOP_APP_IMAGE_TAG = 1.5 .1
66COZE_LOOP_APP_OPENAPI_PORT = 8888
77COZE_LOOP_APP_DEBUG_PORT = 40000
88COZE_LOOP_PYTHON_FAAS_IMAGE_REGISTRY = docker.io
Original file line number Diff line number Diff line change @@ -29,4 +29,7 @@ CREATE TABLE IF NOT EXISTS expt_turn_result_filter
2929ENGINE = ReplacingMergeTree(updated_at)
3030PARTITION BY created_date
3131ORDER 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` ;
Original file line number Diff line number Diff 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` ;
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
2222deployment :
You can’t perform that action at this time.
0 commit comments