- Automatische Embedding-basierte Kontext-Injektion vor jeder API-Anfrage (Top 5 Chat-Ergebnisse + Top 3 Memory-File-Treffer als recalled_context) - Memory-Dateien (.md) werden embedded (Backfill + Live nach memory_write) - Neue Agent-Option 'useAutoContext' (Checkbox, Default: aktiviert) - VectorSearchService: SearchMemoryFilesAsync, EmbedMemoryFileAsync, Chunking - EmbeddingBackgroundService: Memory-File-Backfill + EnqueueMemoryFile - ToolService: memory_write löst Re-Embedding aus - embeddingBg Parameter an ExecuteTool durchgereicht
33 lines
1.4 KiB
C#
33 lines
1.4 KiB
C#
namespace Gott.Models;
|
|
|
|
public class AgentRecord
|
|
{
|
|
public long Id { get; set; }
|
|
public string AgentId { get; set; }
|
|
public string Name { get; set; }
|
|
public string Avatar { get; set; } // base64 data url (512px)
|
|
public string AvatarSmall { get; set; } // base64 data url (256px, für Listen)
|
|
public string Description { get; set; }
|
|
public string Model { get; set; } // sonnet, sonnet-4-5, sonnet-4-6, opus, opus-4-5, opus-4-6, haiku, haiku-4-5
|
|
public string ToolChoice { get; set; } // "any" oder "auto"
|
|
public string CustomCommands { get; set; }
|
|
public string AutoCommit { get; set; } = ""; // "", "mention", "forbid"
|
|
public bool UseSoul { get; set; } = true;
|
|
public bool UseIdentity { get; set; } = true;
|
|
public bool UseUserInfo { get; set; } = true;
|
|
public bool UseMemory { get; set; } = true;
|
|
public bool UseAutoContext { get; set; } = true;
|
|
public bool UseWebSearch { get; set; }
|
|
public string WebSearchVersion { get; set; } = "";
|
|
public bool AllowUserChoice { get; set; } = true;
|
|
public string TaskInstruction { get; set; }
|
|
public double AvatarScale { get; set; } = 1.0;
|
|
public double AvatarOffsetX { get; set; }
|
|
public double AvatarOffsetY { get; set; }
|
|
public string UserId { get; set; }
|
|
public bool IsPublic { get; set; }
|
|
public bool IsDeleted { get; set; }
|
|
public string CreatedAt { get; set; }
|
|
public string UpdatedAt { get; set; }
|
|
}
|