Skip to content

Commit 5a312bb

Browse files
fix(jmanus): datatoolong for plan execution / header for mysql (alibaba#1832)
* fix(entity): update PlanExecutionRecord column definition to longtext for larger data storage * fix(entity): update headers column definition to VARCHAR(2024) for better data handling * fix(entity): update headers column definition to VARCHAR(2048) for improved data capacity --------- Co-authored-by: rainerWJY <answeropensource@alibabacloud.com>
1 parent 0bc16b6 commit 5a312bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-ai-alibaba-jmanus/src/main/java/com/alibaba/cloud/ai/example/manus/dynamic/model/entity/DynamicModelEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class DynamicModelEntity {
3737
private String apiKey;
3838

3939
@Convert(converter = MapToStringConverter.class)
40-
@Column(columnDefinition = "VARCHAR")
40+
@Column(columnDefinition = "VARCHAR(2048)")
4141
private Map<String, String> headers;
4242

4343
@Column(nullable = false)

spring-ai-alibaba-jmanus/src/main/java/com/alibaba/cloud/ai/example/manus/recorder/entity/PlanExecutionRecordEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class PlanExecutionRecordEntity {
4242
private Date gmtModified;
4343

4444
@Convert(converter = StringAttributeConverter.class)
45-
@Column(columnDefinition = "text", length = 400000)
45+
@Column(columnDefinition = "longtext")
4646
private PlanExecutionRecord planExecutionRecord;
4747

4848
public Long getId() {

0 commit comments

Comments
 (0)