🐛 Fix some issues in new thought system
This commit is contained in:
@@ -20,7 +20,7 @@ namespace DysonNetwork.Insight.Migrations
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "9.0.10")
|
||||
.HasAnnotation("ProductVersion", "9.0.11")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
||||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
@@ -74,15 +74,6 @@ namespace DysonNetwork.Insight.Migrations
|
||||
.HasColumnType("uuid")
|
||||
.HasColumnName("id");
|
||||
|
||||
// b.Property<List<SnThinkingChunk>>("Chunks")
|
||||
// .IsRequired()
|
||||
// .HasColumnType("jsonb")
|
||||
// .HasColumnName("chunks");
|
||||
|
||||
// b.Property<string>("Content")
|
||||
// .HasColumnType("text")
|
||||
// .HasColumnName("content");
|
||||
|
||||
b.Property<Instant>("CreatedAt")
|
||||
.HasColumnType("timestamp with time zone")
|
||||
.HasColumnName("created_at");
|
||||
@@ -101,6 +92,11 @@ namespace DysonNetwork.Insight.Migrations
|
||||
.HasColumnType("character varying(4096)")
|
||||
.HasColumnName("model_name");
|
||||
|
||||
b.Property<List<SnThinkingMessagePart>>("Parts")
|
||||
.IsRequired()
|
||||
.HasColumnType("jsonb")
|
||||
.HasColumnName("parts");
|
||||
|
||||
b.Property<int>("Role")
|
||||
.HasColumnType("integer")
|
||||
.HasColumnName("role");
|
||||
|
||||
Reference in New Issue
Block a user