- ChainRecord: neue Felder ToolChoice (auto/any) und ToolNames (JSON-Array) - DatabaseService: Migration tool_choice + tool_names Spalten, INSERT erweitert - ChatEndpoint: berechnet Tools vor Chain-Erstellung, speichert Werte mit - ToolService: execute-Timeout Beschreibung korrigiert (30s → 180s)
23 lines
765 B
C#
23 lines
765 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 CreatedAt { get; set; }
|
|
}
|