- Toggle-Button (🗺️) im Chat-Input-Bereich neben Explorer - Plan-Modus wird per ChatRequest.planMode an Backend gesendet - Backend: Write-Tools gefiltert (nur read_file, list_files, glob, grep, todo_write, memory_*, ask_user_choice bleiben), System-Prompt-Block ergänzt der Änderungen verbietet, tool_choice nie 'any' erzwungen - ChainRecord.PlanMode: pro Chain gespeichert (informativ für History) - Chain-Meta-Badge '📋 Plan-Modus' bei Plan-Chains - Choice-Response erbt planMode vom vorherigen Chain - CSS: .plan-mode-active Styling (Primary-Color Highlight) - Placeholder wechselt zu 'Plannen...' wenn aktiv - Plan-Modus wird bei Session-Wechsel zurückgesetzt
25 lines
852 B
C#
25 lines
852 B
C#
namespace Gott.Models;
|
|
|
|
public class ChainRecord
|
|
{
|
|
public long Id { get; set; }
|
|
public string ChainId { get; set; }
|
|
public string SessionId { get; set; }
|
|
public string AgentId { get; set; }
|
|
public string Model { get; set; }
|
|
public string SystemPrompt { get; set; }
|
|
public long InputTokens { get; set; }
|
|
public long OutputTokens { get; set; }
|
|
public long CacheCreationTokens { get; set; }
|
|
public long CacheReadTokens { get; set; }
|
|
public int Iterations { get; set; }
|
|
public string StopReason { get; set; }
|
|
public long DurationMs { get; set; }
|
|
public string ToolChoice { get; set; }
|
|
public string ToolNames { get; set; }
|
|
public string ArchiveId { get; set; }
|
|
public string StreamErrorInfo { get; set; }
|
|
public bool PlanMode { get; set; }
|
|
public string CreatedAt { get; set; }
|
|
}
|