first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 21:40:14 +03:00
commit e04ba85564
129 changed files with 17541 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package models
import "time"
type ToolRun struct {
ID uint `gorm:"primaryKey" json:"id"`
ToolName string `gorm:"size:128;index;not null" json:"tool_name"`
Status string `gorm:"size:16;index;not null" json:"status"`
DurationMs int64 `gorm:"index" json:"duration_ms"`
ErrorMessage string `gorm:"type:text" json:"error_message,omitempty"`
ArgumentsRaw string `gorm:"type:longtext" json:"arguments_raw,omitempty"`
CreatedAt time.Time `gorm:"autoCreateTime;index" json:"created_at"`
}
func (ToolRun) TableName() string {
return "mcp_tool_runs"
}