agentrun

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the agentrun type in the database.
	Label = "agent_run"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldAgentID holds the string denoting the agent_id field in the database.
	FieldAgentID = "agent_id"
	// FieldWorkflowID holds the string denoting the workflow_id field in the database.
	FieldWorkflowID = "workflow_id"
	// FieldWorkflowVersionID holds the string denoting the workflow_version_id field in the database.
	FieldWorkflowVersionID = "workflow_version_id"
	// FieldTicketID holds the string denoting the ticket_id field in the database.
	FieldTicketID = "ticket_id"
	// FieldProviderID holds the string denoting the provider_id field in the database.
	FieldProviderID = "provider_id"
	// FieldSkillVersionIds holds the string denoting the skill_version_ids field in the database.
	FieldSkillVersionIds = "skill_version_ids"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldSessionID holds the string denoting the session_id field in the database.
	FieldSessionID = "session_id"
	// FieldRuntimeStartedAt holds the string denoting the runtime_started_at field in the database.
	FieldRuntimeStartedAt = "runtime_started_at"
	// FieldTerminalAt holds the string denoting the terminal_at field in the database.
	FieldTerminalAt = "terminal_at"
	// FieldSnapshotMaterializedAt holds the string denoting the snapshot_materialized_at field in the database.
	FieldSnapshotMaterializedAt = "snapshot_materialized_at"
	// FieldLastError holds the string denoting the last_error field in the database.
	FieldLastError = "last_error"
	// FieldLastHeartbeatAt holds the string denoting the last_heartbeat_at field in the database.
	FieldLastHeartbeatAt = "last_heartbeat_at"
	// FieldInputTokens holds the string denoting the input_tokens field in the database.
	FieldInputTokens = "input_tokens"
	// FieldOutputTokens holds the string denoting the output_tokens field in the database.
	FieldOutputTokens = "output_tokens"
	// FieldCachedInputTokens holds the string denoting the cached_input_tokens field in the database.
	FieldCachedInputTokens = "cached_input_tokens"
	// FieldCacheCreationInputTokens holds the string denoting the cache_creation_input_tokens field in the database.
	FieldCacheCreationInputTokens = "cache_creation_input_tokens"
	// FieldReasoningTokens holds the string denoting the reasoning_tokens field in the database.
	FieldReasoningTokens = "reasoning_tokens"
	// FieldPromptTokens holds the string denoting the prompt_tokens field in the database.
	FieldPromptTokens = "prompt_tokens"
	// FieldCandidateTokens holds the string denoting the candidate_tokens field in the database.
	FieldCandidateTokens = "candidate_tokens"
	// FieldToolTokens holds the string denoting the tool_tokens field in the database.
	FieldToolTokens = "tool_tokens"
	// FieldTotalTokens holds the string denoting the total_tokens field in the database.
	FieldTotalTokens = "total_tokens"
	// FieldCurrentStepStatus holds the string denoting the current_step_status field in the database.
	FieldCurrentStepStatus = "current_step_status"
	// FieldCurrentStepSummary holds the string denoting the current_step_summary field in the database.
	FieldCurrentStepSummary = "current_step_summary"
	// FieldCurrentStepChangedAt holds the string denoting the current_step_changed_at field in the database.
	FieldCurrentStepChangedAt = "current_step_changed_at"
	// FieldCompletionSummaryStatus holds the string denoting the completion_summary_status field in the database.
	FieldCompletionSummaryStatus = "completion_summary_status"
	// FieldCompletionSummaryMarkdown holds the string denoting the completion_summary_markdown field in the database.
	FieldCompletionSummaryMarkdown = "completion_summary_markdown"
	// FieldCompletionSummaryJSON holds the string denoting the completion_summary_json field in the database.
	FieldCompletionSummaryJSON = "completion_summary_json"
	// FieldCompletionSummaryInput holds the string denoting the completion_summary_input field in the database.
	FieldCompletionSummaryInput = "completion_summary_input"
	// FieldCompletionSummaryGeneratedAt holds the string denoting the completion_summary_generated_at field in the database.
	FieldCompletionSummaryGeneratedAt = "completion_summary_generated_at"
	// FieldCompletionSummaryError holds the string denoting the completion_summary_error field in the database.
	FieldCompletionSummaryError = "completion_summary_error"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// EdgeAgent holds the string denoting the agent edge name in mutations.
	EdgeAgent = "agent"
	// EdgeWorkflow holds the string denoting the workflow edge name in mutations.
	EdgeWorkflow = "workflow"
	// EdgeWorkflowVersion holds the string denoting the workflow_version edge name in mutations.
	EdgeWorkflowVersion = "workflow_version"
	// EdgeTicket holds the string denoting the ticket edge name in mutations.
	EdgeTicket = "ticket"
	// EdgeProvider holds the string denoting the provider edge name in mutations.
	EdgeProvider = "provider"
	// EdgeCurrentForTicket holds the string denoting the current_for_ticket edge name in mutations.
	EdgeCurrentForTicket = "current_for_ticket"
	// EdgeTicketRepoWorkspaces holds the string denoting the ticket_repo_workspaces edge name in mutations.
	EdgeTicketRepoWorkspaces = "ticket_repo_workspaces"
	// EdgeAgentTraceEvents holds the string denoting the agent_trace_events edge name in mutations.
	EdgeAgentTraceEvents = "agent_trace_events"
	// EdgeAgentStepEvents holds the string denoting the agent_step_events edge name in mutations.
	EdgeAgentStepEvents = "agent_step_events"
	// Table holds the table name of the agentrun in the database.
	Table = "agent_runs"
	// AgentTable is the table that holds the agent relation/edge.
	AgentTable = "agent_runs"
	// AgentInverseTable is the table name for the Agent entity.
	// It exists in this package in order to avoid circular dependency with the "agent" package.
	AgentInverseTable = "agents"
	// AgentColumn is the table column denoting the agent relation/edge.
	AgentColumn = "agent_id"
	// WorkflowTable is the table that holds the workflow relation/edge.
	WorkflowTable = "agent_runs"
	// WorkflowInverseTable is the table name for the Workflow entity.
	// It exists in this package in order to avoid circular dependency with the "workflow" package.
	WorkflowInverseTable = "workflows"
	// WorkflowColumn is the table column denoting the workflow relation/edge.
	WorkflowColumn = "workflow_id"
	// WorkflowVersionTable is the table that holds the workflow_version relation/edge.
	WorkflowVersionTable = "agent_runs"
	// WorkflowVersionInverseTable is the table name for the WorkflowVersion entity.
	// It exists in this package in order to avoid circular dependency with the "workflowversion" package.
	WorkflowVersionInverseTable = "workflow_versions"
	// WorkflowVersionColumn is the table column denoting the workflow_version relation/edge.
	WorkflowVersionColumn = "workflow_version_id"
	// TicketTable is the table that holds the ticket relation/edge.
	TicketTable = "agent_runs"
	// TicketInverseTable is the table name for the Ticket entity.
	// It exists in this package in order to avoid circular dependency with the "ticket" package.
	TicketInverseTable = "tickets"
	// TicketColumn is the table column denoting the ticket relation/edge.
	TicketColumn = "ticket_id"
	// ProviderTable is the table that holds the provider relation/edge.
	ProviderTable = "agent_runs"
	// ProviderInverseTable is the table name for the AgentProvider entity.
	// It exists in this package in order to avoid circular dependency with the "agentprovider" package.
	ProviderInverseTable = "agent_providers"
	// ProviderColumn is the table column denoting the provider relation/edge.
	ProviderColumn = "provider_id"
	// CurrentForTicketTable is the table that holds the current_for_ticket relation/edge.
	CurrentForTicketTable = "tickets"
	// CurrentForTicketInverseTable is the table name for the Ticket entity.
	// It exists in this package in order to avoid circular dependency with the "ticket" package.
	CurrentForTicketInverseTable = "tickets"
	// CurrentForTicketColumn is the table column denoting the current_for_ticket relation/edge.
	CurrentForTicketColumn = "current_run_id"
	// TicketRepoWorkspacesTable is the table that holds the ticket_repo_workspaces relation/edge.
	TicketRepoWorkspacesTable = "ticket_repo_workspaces"
	// TicketRepoWorkspacesInverseTable is the table name for the TicketRepoWorkspace entity.
	// It exists in this package in order to avoid circular dependency with the "ticketrepoworkspace" package.
	TicketRepoWorkspacesInverseTable = "ticket_repo_workspaces"
	// TicketRepoWorkspacesColumn is the table column denoting the ticket_repo_workspaces relation/edge.
	TicketRepoWorkspacesColumn = "agent_run_id"
	// AgentTraceEventsTable is the table that holds the agent_trace_events relation/edge.
	AgentTraceEventsTable = "agent_trace_events"
	// AgentTraceEventsInverseTable is the table name for the AgentTraceEvent entity.
	// It exists in this package in order to avoid circular dependency with the "agenttraceevent" package.
	AgentTraceEventsInverseTable = "agent_trace_events"
	// AgentTraceEventsColumn is the table column denoting the agent_trace_events relation/edge.
	AgentTraceEventsColumn = "agent_run_id"
	// AgentStepEventsTable is the table that holds the agent_step_events relation/edge.
	AgentStepEventsTable = "agent_step_events"
	// AgentStepEventsInverseTable is the table name for the AgentStepEvent entity.
	// It exists in this package in order to avoid circular dependency with the "agentstepevent" package.
	AgentStepEventsInverseTable = "agent_step_events"
	// AgentStepEventsColumn is the table column denoting the agent_step_events relation/edge.
	AgentStepEventsColumn = "agent_run_id"
)

Variables

View Source
var (
	// DefaultInputTokens holds the default value on creation for the "input_tokens" field.
	DefaultInputTokens int64
	// DefaultOutputTokens holds the default value on creation for the "output_tokens" field.
	DefaultOutputTokens int64
	// DefaultCachedInputTokens holds the default value on creation for the "cached_input_tokens" field.
	DefaultCachedInputTokens int64
	// DefaultCacheCreationInputTokens holds the default value on creation for the "cache_creation_input_tokens" field.
	DefaultCacheCreationInputTokens int64
	// DefaultReasoningTokens holds the default value on creation for the "reasoning_tokens" field.
	DefaultReasoningTokens int64
	// DefaultPromptTokens holds the default value on creation for the "prompt_tokens" field.
	DefaultPromptTokens int64
	// DefaultCandidateTokens holds the default value on creation for the "candidate_tokens" field.
	DefaultCandidateTokens int64
	// DefaultToolTokens holds the default value on creation for the "tool_tokens" field.
	DefaultToolTokens int64
	// DefaultTotalTokens holds the default value on creation for the "total_tokens" field.
	DefaultTotalTokens int64
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for agentrun fields.

Functions

func AgentID

func AgentID(v uuid.UUID) predicate.AgentRun

AgentID applies equality check predicate on the "agent_id" field. It's identical to AgentIDEQ.

func AgentIDEQ

func AgentIDEQ(v uuid.UUID) predicate.AgentRun

AgentIDEQ applies the EQ predicate on the "agent_id" field.

func AgentIDIn

func AgentIDIn(vs ...uuid.UUID) predicate.AgentRun

AgentIDIn applies the In predicate on the "agent_id" field.

func AgentIDNEQ

func AgentIDNEQ(v uuid.UUID) predicate.AgentRun

AgentIDNEQ applies the NEQ predicate on the "agent_id" field.

func AgentIDNotIn

func AgentIDNotIn(vs ...uuid.UUID) predicate.AgentRun

AgentIDNotIn applies the NotIn predicate on the "agent_id" field.

func And

func And(predicates ...predicate.AgentRun) predicate.AgentRun

And groups predicates with the AND operator between them.

func CacheCreationInputTokens

func CacheCreationInputTokens(v int64) predicate.AgentRun

CacheCreationInputTokens applies equality check predicate on the "cache_creation_input_tokens" field. It's identical to CacheCreationInputTokensEQ.

func CacheCreationInputTokensEQ

func CacheCreationInputTokensEQ(v int64) predicate.AgentRun

CacheCreationInputTokensEQ applies the EQ predicate on the "cache_creation_input_tokens" field.

func CacheCreationInputTokensGT

func CacheCreationInputTokensGT(v int64) predicate.AgentRun

CacheCreationInputTokensGT applies the GT predicate on the "cache_creation_input_tokens" field.

func CacheCreationInputTokensGTE

func CacheCreationInputTokensGTE(v int64) predicate.AgentRun

CacheCreationInputTokensGTE applies the GTE predicate on the "cache_creation_input_tokens" field.

func CacheCreationInputTokensIn

func CacheCreationInputTokensIn(vs ...int64) predicate.AgentRun

CacheCreationInputTokensIn applies the In predicate on the "cache_creation_input_tokens" field.

func CacheCreationInputTokensLT

func CacheCreationInputTokensLT(v int64) predicate.AgentRun

CacheCreationInputTokensLT applies the LT predicate on the "cache_creation_input_tokens" field.

func CacheCreationInputTokensLTE

func CacheCreationInputTokensLTE(v int64) predicate.AgentRun

CacheCreationInputTokensLTE applies the LTE predicate on the "cache_creation_input_tokens" field.

func CacheCreationInputTokensNEQ

func CacheCreationInputTokensNEQ(v int64) predicate.AgentRun

CacheCreationInputTokensNEQ applies the NEQ predicate on the "cache_creation_input_tokens" field.

func CacheCreationInputTokensNotIn

func CacheCreationInputTokensNotIn(vs ...int64) predicate.AgentRun

CacheCreationInputTokensNotIn applies the NotIn predicate on the "cache_creation_input_tokens" field.

func CachedInputTokens

func CachedInputTokens(v int64) predicate.AgentRun

CachedInputTokens applies equality check predicate on the "cached_input_tokens" field. It's identical to CachedInputTokensEQ.

func CachedInputTokensEQ

func CachedInputTokensEQ(v int64) predicate.AgentRun

CachedInputTokensEQ applies the EQ predicate on the "cached_input_tokens" field.

func CachedInputTokensGT

func CachedInputTokensGT(v int64) predicate.AgentRun

CachedInputTokensGT applies the GT predicate on the "cached_input_tokens" field.

func CachedInputTokensGTE

func CachedInputTokensGTE(v int64) predicate.AgentRun

CachedInputTokensGTE applies the GTE predicate on the "cached_input_tokens" field.

func CachedInputTokensIn

func CachedInputTokensIn(vs ...int64) predicate.AgentRun

CachedInputTokensIn applies the In predicate on the "cached_input_tokens" field.

func CachedInputTokensLT

func CachedInputTokensLT(v int64) predicate.AgentRun

CachedInputTokensLT applies the LT predicate on the "cached_input_tokens" field.

func CachedInputTokensLTE

func CachedInputTokensLTE(v int64) predicate.AgentRun

CachedInputTokensLTE applies the LTE predicate on the "cached_input_tokens" field.

func CachedInputTokensNEQ

func CachedInputTokensNEQ(v int64) predicate.AgentRun

CachedInputTokensNEQ applies the NEQ predicate on the "cached_input_tokens" field.

func CachedInputTokensNotIn

func CachedInputTokensNotIn(vs ...int64) predicate.AgentRun

CachedInputTokensNotIn applies the NotIn predicate on the "cached_input_tokens" field.

func CandidateTokens

func CandidateTokens(v int64) predicate.AgentRun

CandidateTokens applies equality check predicate on the "candidate_tokens" field. It's identical to CandidateTokensEQ.

func CandidateTokensEQ

func CandidateTokensEQ(v int64) predicate.AgentRun

CandidateTokensEQ applies the EQ predicate on the "candidate_tokens" field.

func CandidateTokensGT

func CandidateTokensGT(v int64) predicate.AgentRun

CandidateTokensGT applies the GT predicate on the "candidate_tokens" field.

func CandidateTokensGTE

func CandidateTokensGTE(v int64) predicate.AgentRun

CandidateTokensGTE applies the GTE predicate on the "candidate_tokens" field.

func CandidateTokensIn

func CandidateTokensIn(vs ...int64) predicate.AgentRun

CandidateTokensIn applies the In predicate on the "candidate_tokens" field.

func CandidateTokensLT

func CandidateTokensLT(v int64) predicate.AgentRun

CandidateTokensLT applies the LT predicate on the "candidate_tokens" field.

func CandidateTokensLTE

func CandidateTokensLTE(v int64) predicate.AgentRun

CandidateTokensLTE applies the LTE predicate on the "candidate_tokens" field.

func CandidateTokensNEQ

func CandidateTokensNEQ(v int64) predicate.AgentRun

CandidateTokensNEQ applies the NEQ predicate on the "candidate_tokens" field.

func CandidateTokensNotIn

func CandidateTokensNotIn(vs ...int64) predicate.AgentRun

CandidateTokensNotIn applies the NotIn predicate on the "candidate_tokens" field.

func CompletionSummaryError

func CompletionSummaryError(v string) predicate.AgentRun

CompletionSummaryError applies equality check predicate on the "completion_summary_error" field. It's identical to CompletionSummaryErrorEQ.

func CompletionSummaryErrorContains

func CompletionSummaryErrorContains(v string) predicate.AgentRun

CompletionSummaryErrorContains applies the Contains predicate on the "completion_summary_error" field.

func CompletionSummaryErrorContainsFold

func CompletionSummaryErrorContainsFold(v string) predicate.AgentRun

CompletionSummaryErrorContainsFold applies the ContainsFold predicate on the "completion_summary_error" field.

func CompletionSummaryErrorEQ

func CompletionSummaryErrorEQ(v string) predicate.AgentRun

CompletionSummaryErrorEQ applies the EQ predicate on the "completion_summary_error" field.

func CompletionSummaryErrorEqualFold

func CompletionSummaryErrorEqualFold(v string) predicate.AgentRun

CompletionSummaryErrorEqualFold applies the EqualFold predicate on the "completion_summary_error" field.

func CompletionSummaryErrorGT

func CompletionSummaryErrorGT(v string) predicate.AgentRun

CompletionSummaryErrorGT applies the GT predicate on the "completion_summary_error" field.

func CompletionSummaryErrorGTE

func CompletionSummaryErrorGTE(v string) predicate.AgentRun

CompletionSummaryErrorGTE applies the GTE predicate on the "completion_summary_error" field.

func CompletionSummaryErrorHasPrefix

func CompletionSummaryErrorHasPrefix(v string) predicate.AgentRun

CompletionSummaryErrorHasPrefix applies the HasPrefix predicate on the "completion_summary_error" field.

func CompletionSummaryErrorHasSuffix

func CompletionSummaryErrorHasSuffix(v string) predicate.AgentRun

CompletionSummaryErrorHasSuffix applies the HasSuffix predicate on the "completion_summary_error" field.

func CompletionSummaryErrorIn

func CompletionSummaryErrorIn(vs ...string) predicate.AgentRun

CompletionSummaryErrorIn applies the In predicate on the "completion_summary_error" field.

func CompletionSummaryErrorIsNil

func CompletionSummaryErrorIsNil() predicate.AgentRun

CompletionSummaryErrorIsNil applies the IsNil predicate on the "completion_summary_error" field.

func CompletionSummaryErrorLT

func CompletionSummaryErrorLT(v string) predicate.AgentRun

CompletionSummaryErrorLT applies the LT predicate on the "completion_summary_error" field.

func CompletionSummaryErrorLTE

func CompletionSummaryErrorLTE(v string) predicate.AgentRun

CompletionSummaryErrorLTE applies the LTE predicate on the "completion_summary_error" field.

func CompletionSummaryErrorNEQ

func CompletionSummaryErrorNEQ(v string) predicate.AgentRun

CompletionSummaryErrorNEQ applies the NEQ predicate on the "completion_summary_error" field.

func CompletionSummaryErrorNotIn

func CompletionSummaryErrorNotIn(vs ...string) predicate.AgentRun

CompletionSummaryErrorNotIn applies the NotIn predicate on the "completion_summary_error" field.

func CompletionSummaryErrorNotNil

func CompletionSummaryErrorNotNil() predicate.AgentRun

CompletionSummaryErrorNotNil applies the NotNil predicate on the "completion_summary_error" field.

func CompletionSummaryGeneratedAt

func CompletionSummaryGeneratedAt(v time.Time) predicate.AgentRun

CompletionSummaryGeneratedAt applies equality check predicate on the "completion_summary_generated_at" field. It's identical to CompletionSummaryGeneratedAtEQ.

func CompletionSummaryGeneratedAtEQ

func CompletionSummaryGeneratedAtEQ(v time.Time) predicate.AgentRun

CompletionSummaryGeneratedAtEQ applies the EQ predicate on the "completion_summary_generated_at" field.

func CompletionSummaryGeneratedAtGT

func CompletionSummaryGeneratedAtGT(v time.Time) predicate.AgentRun

CompletionSummaryGeneratedAtGT applies the GT predicate on the "completion_summary_generated_at" field.

func CompletionSummaryGeneratedAtGTE

func CompletionSummaryGeneratedAtGTE(v time.Time) predicate.AgentRun

CompletionSummaryGeneratedAtGTE applies the GTE predicate on the "completion_summary_generated_at" field.

func CompletionSummaryGeneratedAtIn

func CompletionSummaryGeneratedAtIn(vs ...time.Time) predicate.AgentRun

CompletionSummaryGeneratedAtIn applies the In predicate on the "completion_summary_generated_at" field.

func CompletionSummaryGeneratedAtIsNil

func CompletionSummaryGeneratedAtIsNil() predicate.AgentRun

CompletionSummaryGeneratedAtIsNil applies the IsNil predicate on the "completion_summary_generated_at" field.

func CompletionSummaryGeneratedAtLT

func CompletionSummaryGeneratedAtLT(v time.Time) predicate.AgentRun

CompletionSummaryGeneratedAtLT applies the LT predicate on the "completion_summary_generated_at" field.

func CompletionSummaryGeneratedAtLTE

func CompletionSummaryGeneratedAtLTE(v time.Time) predicate.AgentRun

CompletionSummaryGeneratedAtLTE applies the LTE predicate on the "completion_summary_generated_at" field.

func CompletionSummaryGeneratedAtNEQ

func CompletionSummaryGeneratedAtNEQ(v time.Time) predicate.AgentRun

CompletionSummaryGeneratedAtNEQ applies the NEQ predicate on the "completion_summary_generated_at" field.

func CompletionSummaryGeneratedAtNotIn

func CompletionSummaryGeneratedAtNotIn(vs ...time.Time) predicate.AgentRun

CompletionSummaryGeneratedAtNotIn applies the NotIn predicate on the "completion_summary_generated_at" field.

func CompletionSummaryGeneratedAtNotNil

func CompletionSummaryGeneratedAtNotNil() predicate.AgentRun

CompletionSummaryGeneratedAtNotNil applies the NotNil predicate on the "completion_summary_generated_at" field.

func CompletionSummaryInputIsNil

func CompletionSummaryInputIsNil() predicate.AgentRun

CompletionSummaryInputIsNil applies the IsNil predicate on the "completion_summary_input" field.

func CompletionSummaryInputNotNil

func CompletionSummaryInputNotNil() predicate.AgentRun

CompletionSummaryInputNotNil applies the NotNil predicate on the "completion_summary_input" field.

func CompletionSummaryJSONIsNil

func CompletionSummaryJSONIsNil() predicate.AgentRun

CompletionSummaryJSONIsNil applies the IsNil predicate on the "completion_summary_json" field.

func CompletionSummaryJSONNotNil

func CompletionSummaryJSONNotNil() predicate.AgentRun

CompletionSummaryJSONNotNil applies the NotNil predicate on the "completion_summary_json" field.

func CompletionSummaryMarkdown

func CompletionSummaryMarkdown(v string) predicate.AgentRun

CompletionSummaryMarkdown applies equality check predicate on the "completion_summary_markdown" field. It's identical to CompletionSummaryMarkdownEQ.

func CompletionSummaryMarkdownContains

func CompletionSummaryMarkdownContains(v string) predicate.AgentRun

CompletionSummaryMarkdownContains applies the Contains predicate on the "completion_summary_markdown" field.

func CompletionSummaryMarkdownContainsFold

func CompletionSummaryMarkdownContainsFold(v string) predicate.AgentRun

CompletionSummaryMarkdownContainsFold applies the ContainsFold predicate on the "completion_summary_markdown" field.

func CompletionSummaryMarkdownEQ

func CompletionSummaryMarkdownEQ(v string) predicate.AgentRun

CompletionSummaryMarkdownEQ applies the EQ predicate on the "completion_summary_markdown" field.

func CompletionSummaryMarkdownEqualFold

func CompletionSummaryMarkdownEqualFold(v string) predicate.AgentRun

CompletionSummaryMarkdownEqualFold applies the EqualFold predicate on the "completion_summary_markdown" field.

func CompletionSummaryMarkdownGT

func CompletionSummaryMarkdownGT(v string) predicate.AgentRun

CompletionSummaryMarkdownGT applies the GT predicate on the "completion_summary_markdown" field.

func CompletionSummaryMarkdownGTE

func CompletionSummaryMarkdownGTE(v string) predicate.AgentRun

CompletionSummaryMarkdownGTE applies the GTE predicate on the "completion_summary_markdown" field.

func CompletionSummaryMarkdownHasPrefix

func CompletionSummaryMarkdownHasPrefix(v string) predicate.AgentRun

CompletionSummaryMarkdownHasPrefix applies the HasPrefix predicate on the "completion_summary_markdown" field.

func CompletionSummaryMarkdownHasSuffix

func CompletionSummaryMarkdownHasSuffix(v string) predicate.AgentRun

CompletionSummaryMarkdownHasSuffix applies the HasSuffix predicate on the "completion_summary_markdown" field.

func CompletionSummaryMarkdownIn

func CompletionSummaryMarkdownIn(vs ...string) predicate.AgentRun

CompletionSummaryMarkdownIn applies the In predicate on the "completion_summary_markdown" field.

func CompletionSummaryMarkdownIsNil

func CompletionSummaryMarkdownIsNil() predicate.AgentRun

CompletionSummaryMarkdownIsNil applies the IsNil predicate on the "completion_summary_markdown" field.

func CompletionSummaryMarkdownLT

func CompletionSummaryMarkdownLT(v string) predicate.AgentRun

CompletionSummaryMarkdownLT applies the LT predicate on the "completion_summary_markdown" field.

func CompletionSummaryMarkdownLTE

func CompletionSummaryMarkdownLTE(v string) predicate.AgentRun

CompletionSummaryMarkdownLTE applies the LTE predicate on the "completion_summary_markdown" field.

func CompletionSummaryMarkdownNEQ

func CompletionSummaryMarkdownNEQ(v string) predicate.AgentRun

CompletionSummaryMarkdownNEQ applies the NEQ predicate on the "completion_summary_markdown" field.

func CompletionSummaryMarkdownNotIn

func CompletionSummaryMarkdownNotIn(vs ...string) predicate.AgentRun

CompletionSummaryMarkdownNotIn applies the NotIn predicate on the "completion_summary_markdown" field.

func CompletionSummaryMarkdownNotNil

func CompletionSummaryMarkdownNotNil() predicate.AgentRun

CompletionSummaryMarkdownNotNil applies the NotNil predicate on the "completion_summary_markdown" field.

func CompletionSummaryStatusEQ

func CompletionSummaryStatusEQ(v CompletionSummaryStatus) predicate.AgentRun

CompletionSummaryStatusEQ applies the EQ predicate on the "completion_summary_status" field.

func CompletionSummaryStatusIn

func CompletionSummaryStatusIn(vs ...CompletionSummaryStatus) predicate.AgentRun

CompletionSummaryStatusIn applies the In predicate on the "completion_summary_status" field.

func CompletionSummaryStatusIsNil

func CompletionSummaryStatusIsNil() predicate.AgentRun

CompletionSummaryStatusIsNil applies the IsNil predicate on the "completion_summary_status" field.

func CompletionSummaryStatusNEQ

func CompletionSummaryStatusNEQ(v CompletionSummaryStatus) predicate.AgentRun

CompletionSummaryStatusNEQ applies the NEQ predicate on the "completion_summary_status" field.

func CompletionSummaryStatusNotIn

func CompletionSummaryStatusNotIn(vs ...CompletionSummaryStatus) predicate.AgentRun

CompletionSummaryStatusNotIn applies the NotIn predicate on the "completion_summary_status" field.

func CompletionSummaryStatusNotNil

func CompletionSummaryStatusNotNil() predicate.AgentRun

CompletionSummaryStatusNotNil applies the NotNil predicate on the "completion_summary_status" field.

func CompletionSummaryStatusValidator

func CompletionSummaryStatusValidator(css CompletionSummaryStatus) error

CompletionSummaryStatusValidator is a validator for the "completion_summary_status" field enum values. It is called by the builders before save.

func CreatedAt

func CreatedAt(v time.Time) predicate.AgentRun

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AgentRun

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AgentRun

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AgentRun

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.AgentRun

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AgentRun

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AgentRun

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AgentRun

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.AgentRun

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CurrentStepChangedAt

func CurrentStepChangedAt(v time.Time) predicate.AgentRun

CurrentStepChangedAt applies equality check predicate on the "current_step_changed_at" field. It's identical to CurrentStepChangedAtEQ.

func CurrentStepChangedAtEQ

func CurrentStepChangedAtEQ(v time.Time) predicate.AgentRun

CurrentStepChangedAtEQ applies the EQ predicate on the "current_step_changed_at" field.

func CurrentStepChangedAtGT

func CurrentStepChangedAtGT(v time.Time) predicate.AgentRun

CurrentStepChangedAtGT applies the GT predicate on the "current_step_changed_at" field.

func CurrentStepChangedAtGTE

func CurrentStepChangedAtGTE(v time.Time) predicate.AgentRun

CurrentStepChangedAtGTE applies the GTE predicate on the "current_step_changed_at" field.

func CurrentStepChangedAtIn

func CurrentStepChangedAtIn(vs ...time.Time) predicate.AgentRun

CurrentStepChangedAtIn applies the In predicate on the "current_step_changed_at" field.

func CurrentStepChangedAtIsNil

func CurrentStepChangedAtIsNil() predicate.AgentRun

CurrentStepChangedAtIsNil applies the IsNil predicate on the "current_step_changed_at" field.

func CurrentStepChangedAtLT

func CurrentStepChangedAtLT(v time.Time) predicate.AgentRun

CurrentStepChangedAtLT applies the LT predicate on the "current_step_changed_at" field.

func CurrentStepChangedAtLTE

func CurrentStepChangedAtLTE(v time.Time) predicate.AgentRun

CurrentStepChangedAtLTE applies the LTE predicate on the "current_step_changed_at" field.

func CurrentStepChangedAtNEQ

func CurrentStepChangedAtNEQ(v time.Time) predicate.AgentRun

CurrentStepChangedAtNEQ applies the NEQ predicate on the "current_step_changed_at" field.

func CurrentStepChangedAtNotIn

func CurrentStepChangedAtNotIn(vs ...time.Time) predicate.AgentRun

CurrentStepChangedAtNotIn applies the NotIn predicate on the "current_step_changed_at" field.

func CurrentStepChangedAtNotNil

func CurrentStepChangedAtNotNil() predicate.AgentRun

CurrentStepChangedAtNotNil applies the NotNil predicate on the "current_step_changed_at" field.

func CurrentStepStatus

func CurrentStepStatus(v string) predicate.AgentRun

CurrentStepStatus applies equality check predicate on the "current_step_status" field. It's identical to CurrentStepStatusEQ.

func CurrentStepStatusContains

func CurrentStepStatusContains(v string) predicate.AgentRun

CurrentStepStatusContains applies the Contains predicate on the "current_step_status" field.

func CurrentStepStatusContainsFold

func CurrentStepStatusContainsFold(v string) predicate.AgentRun

CurrentStepStatusContainsFold applies the ContainsFold predicate on the "current_step_status" field.

func CurrentStepStatusEQ

func CurrentStepStatusEQ(v string) predicate.AgentRun

CurrentStepStatusEQ applies the EQ predicate on the "current_step_status" field.

func CurrentStepStatusEqualFold

func CurrentStepStatusEqualFold(v string) predicate.AgentRun

CurrentStepStatusEqualFold applies the EqualFold predicate on the "current_step_status" field.

func CurrentStepStatusGT

func CurrentStepStatusGT(v string) predicate.AgentRun

CurrentStepStatusGT applies the GT predicate on the "current_step_status" field.

func CurrentStepStatusGTE

func CurrentStepStatusGTE(v string) predicate.AgentRun

CurrentStepStatusGTE applies the GTE predicate on the "current_step_status" field.

func CurrentStepStatusHasPrefix

func CurrentStepStatusHasPrefix(v string) predicate.AgentRun

CurrentStepStatusHasPrefix applies the HasPrefix predicate on the "current_step_status" field.

func CurrentStepStatusHasSuffix

func CurrentStepStatusHasSuffix(v string) predicate.AgentRun

CurrentStepStatusHasSuffix applies the HasSuffix predicate on the "current_step_status" field.

func CurrentStepStatusIn

func CurrentStepStatusIn(vs ...string) predicate.AgentRun

CurrentStepStatusIn applies the In predicate on the "current_step_status" field.

func CurrentStepStatusIsNil

func CurrentStepStatusIsNil() predicate.AgentRun

CurrentStepStatusIsNil applies the IsNil predicate on the "current_step_status" field.

func CurrentStepStatusLT

func CurrentStepStatusLT(v string) predicate.AgentRun

CurrentStepStatusLT applies the LT predicate on the "current_step_status" field.

func CurrentStepStatusLTE

func CurrentStepStatusLTE(v string) predicate.AgentRun

CurrentStepStatusLTE applies the LTE predicate on the "current_step_status" field.

func CurrentStepStatusNEQ

func CurrentStepStatusNEQ(v string) predicate.AgentRun

CurrentStepStatusNEQ applies the NEQ predicate on the "current_step_status" field.

func CurrentStepStatusNotIn

func CurrentStepStatusNotIn(vs ...string) predicate.AgentRun

CurrentStepStatusNotIn applies the NotIn predicate on the "current_step_status" field.

func CurrentStepStatusNotNil

func CurrentStepStatusNotNil() predicate.AgentRun

CurrentStepStatusNotNil applies the NotNil predicate on the "current_step_status" field.

func CurrentStepSummary

func CurrentStepSummary(v string) predicate.AgentRun

CurrentStepSummary applies equality check predicate on the "current_step_summary" field. It's identical to CurrentStepSummaryEQ.

func CurrentStepSummaryContains

func CurrentStepSummaryContains(v string) predicate.AgentRun

CurrentStepSummaryContains applies the Contains predicate on the "current_step_summary" field.

func CurrentStepSummaryContainsFold

func CurrentStepSummaryContainsFold(v string) predicate.AgentRun

CurrentStepSummaryContainsFold applies the ContainsFold predicate on the "current_step_summary" field.

func CurrentStepSummaryEQ

func CurrentStepSummaryEQ(v string) predicate.AgentRun

CurrentStepSummaryEQ applies the EQ predicate on the "current_step_summary" field.

func CurrentStepSummaryEqualFold

func CurrentStepSummaryEqualFold(v string) predicate.AgentRun

CurrentStepSummaryEqualFold applies the EqualFold predicate on the "current_step_summary" field.

func CurrentStepSummaryGT

func CurrentStepSummaryGT(v string) predicate.AgentRun

CurrentStepSummaryGT applies the GT predicate on the "current_step_summary" field.

func CurrentStepSummaryGTE

func CurrentStepSummaryGTE(v string) predicate.AgentRun

CurrentStepSummaryGTE applies the GTE predicate on the "current_step_summary" field.

func CurrentStepSummaryHasPrefix

func CurrentStepSummaryHasPrefix(v string) predicate.AgentRun

CurrentStepSummaryHasPrefix applies the HasPrefix predicate on the "current_step_summary" field.

func CurrentStepSummaryHasSuffix

func CurrentStepSummaryHasSuffix(v string) predicate.AgentRun

CurrentStepSummaryHasSuffix applies the HasSuffix predicate on the "current_step_summary" field.

func CurrentStepSummaryIn

func CurrentStepSummaryIn(vs ...string) predicate.AgentRun

CurrentStepSummaryIn applies the In predicate on the "current_step_summary" field.

func CurrentStepSummaryIsNil

func CurrentStepSummaryIsNil() predicate.AgentRun

CurrentStepSummaryIsNil applies the IsNil predicate on the "current_step_summary" field.

func CurrentStepSummaryLT

func CurrentStepSummaryLT(v string) predicate.AgentRun

CurrentStepSummaryLT applies the LT predicate on the "current_step_summary" field.

func CurrentStepSummaryLTE

func CurrentStepSummaryLTE(v string) predicate.AgentRun

CurrentStepSummaryLTE applies the LTE predicate on the "current_step_summary" field.

func CurrentStepSummaryNEQ

func CurrentStepSummaryNEQ(v string) predicate.AgentRun

CurrentStepSummaryNEQ applies the NEQ predicate on the "current_step_summary" field.

func CurrentStepSummaryNotIn

func CurrentStepSummaryNotIn(vs ...string) predicate.AgentRun

CurrentStepSummaryNotIn applies the NotIn predicate on the "current_step_summary" field.

func CurrentStepSummaryNotNil

func CurrentStepSummaryNotNil() predicate.AgentRun

CurrentStepSummaryNotNil applies the NotNil predicate on the "current_step_summary" field.

func HasAgent

func HasAgent() predicate.AgentRun

HasAgent applies the HasEdge predicate on the "agent" edge.

func HasAgentStepEvents

func HasAgentStepEvents() predicate.AgentRun

HasAgentStepEvents applies the HasEdge predicate on the "agent_step_events" edge.

func HasAgentStepEventsWith

func HasAgentStepEventsWith(preds ...predicate.AgentStepEvent) predicate.AgentRun

HasAgentStepEventsWith applies the HasEdge predicate on the "agent_step_events" edge with a given conditions (other predicates).

func HasAgentTraceEvents

func HasAgentTraceEvents() predicate.AgentRun

HasAgentTraceEvents applies the HasEdge predicate on the "agent_trace_events" edge.

func HasAgentTraceEventsWith

func HasAgentTraceEventsWith(preds ...predicate.AgentTraceEvent) predicate.AgentRun

HasAgentTraceEventsWith applies the HasEdge predicate on the "agent_trace_events" edge with a given conditions (other predicates).

func HasAgentWith

func HasAgentWith(preds ...predicate.Agent) predicate.AgentRun

HasAgentWith applies the HasEdge predicate on the "agent" edge with a given conditions (other predicates).

func HasCurrentForTicket

func HasCurrentForTicket() predicate.AgentRun

HasCurrentForTicket applies the HasEdge predicate on the "current_for_ticket" edge.

func HasCurrentForTicketWith

func HasCurrentForTicketWith(preds ...predicate.Ticket) predicate.AgentRun

HasCurrentForTicketWith applies the HasEdge predicate on the "current_for_ticket" edge with a given conditions (other predicates).

func HasProvider

func HasProvider() predicate.AgentRun

HasProvider applies the HasEdge predicate on the "provider" edge.

func HasProviderWith

func HasProviderWith(preds ...predicate.AgentProvider) predicate.AgentRun

HasProviderWith applies the HasEdge predicate on the "provider" edge with a given conditions (other predicates).

func HasTicket

func HasTicket() predicate.AgentRun

HasTicket applies the HasEdge predicate on the "ticket" edge.

func HasTicketRepoWorkspaces

func HasTicketRepoWorkspaces() predicate.AgentRun

HasTicketRepoWorkspaces applies the HasEdge predicate on the "ticket_repo_workspaces" edge.

func HasTicketRepoWorkspacesWith

func HasTicketRepoWorkspacesWith(preds ...predicate.TicketRepoWorkspace) predicate.AgentRun

HasTicketRepoWorkspacesWith applies the HasEdge predicate on the "ticket_repo_workspaces" edge with a given conditions (other predicates).

func HasTicketWith

func HasTicketWith(preds ...predicate.Ticket) predicate.AgentRun

HasTicketWith applies the HasEdge predicate on the "ticket" edge with a given conditions (other predicates).

func HasWorkflow

func HasWorkflow() predicate.AgentRun

HasWorkflow applies the HasEdge predicate on the "workflow" edge.

func HasWorkflowVersion

func HasWorkflowVersion() predicate.AgentRun

HasWorkflowVersion applies the HasEdge predicate on the "workflow_version" edge.

func HasWorkflowVersionWith

func HasWorkflowVersionWith(preds ...predicate.WorkflowVersion) predicate.AgentRun

HasWorkflowVersionWith applies the HasEdge predicate on the "workflow_version" edge with a given conditions (other predicates).

func HasWorkflowWith

func HasWorkflowWith(preds ...predicate.Workflow) predicate.AgentRun

HasWorkflowWith applies the HasEdge predicate on the "workflow" edge with a given conditions (other predicates).

func ID

func ID(id uuid.UUID) predicate.AgentRun

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.AgentRun

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.AgentRun

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.AgentRun

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.AgentRun

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.AgentRun

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.AgentRun

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.AgentRun

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.AgentRun

IDNotIn applies the NotIn predicate on the ID field.

func InputTokens

func InputTokens(v int64) predicate.AgentRun

InputTokens applies equality check predicate on the "input_tokens" field. It's identical to InputTokensEQ.

func InputTokensEQ

func InputTokensEQ(v int64) predicate.AgentRun

InputTokensEQ applies the EQ predicate on the "input_tokens" field.

func InputTokensGT

func InputTokensGT(v int64) predicate.AgentRun

InputTokensGT applies the GT predicate on the "input_tokens" field.

func InputTokensGTE

func InputTokensGTE(v int64) predicate.AgentRun

InputTokensGTE applies the GTE predicate on the "input_tokens" field.

func InputTokensIn

func InputTokensIn(vs ...int64) predicate.AgentRun

InputTokensIn applies the In predicate on the "input_tokens" field.

func InputTokensLT

func InputTokensLT(v int64) predicate.AgentRun

InputTokensLT applies the LT predicate on the "input_tokens" field.

func InputTokensLTE

func InputTokensLTE(v int64) predicate.AgentRun

InputTokensLTE applies the LTE predicate on the "input_tokens" field.

func InputTokensNEQ

func InputTokensNEQ(v int64) predicate.AgentRun

InputTokensNEQ applies the NEQ predicate on the "input_tokens" field.

func InputTokensNotIn

func InputTokensNotIn(vs ...int64) predicate.AgentRun

InputTokensNotIn applies the NotIn predicate on the "input_tokens" field.

func LastError

func LastError(v string) predicate.AgentRun

LastError applies equality check predicate on the "last_error" field. It's identical to LastErrorEQ.

func LastErrorContains

func LastErrorContains(v string) predicate.AgentRun

LastErrorContains applies the Contains predicate on the "last_error" field.

func LastErrorContainsFold

func LastErrorContainsFold(v string) predicate.AgentRun

LastErrorContainsFold applies the ContainsFold predicate on the "last_error" field.

func LastErrorEQ

func LastErrorEQ(v string) predicate.AgentRun

LastErrorEQ applies the EQ predicate on the "last_error" field.

func LastErrorEqualFold

func LastErrorEqualFold(v string) predicate.AgentRun

LastErrorEqualFold applies the EqualFold predicate on the "last_error" field.

func LastErrorGT

func LastErrorGT(v string) predicate.AgentRun

LastErrorGT applies the GT predicate on the "last_error" field.

func LastErrorGTE

func LastErrorGTE(v string) predicate.AgentRun

LastErrorGTE applies the GTE predicate on the "last_error" field.

func LastErrorHasPrefix

func LastErrorHasPrefix(v string) predicate.AgentRun

LastErrorHasPrefix applies the HasPrefix predicate on the "last_error" field.

func LastErrorHasSuffix

func LastErrorHasSuffix(v string) predicate.AgentRun

LastErrorHasSuffix applies the HasSuffix predicate on the "last_error" field.

func LastErrorIn

func LastErrorIn(vs ...string) predicate.AgentRun

LastErrorIn applies the In predicate on the "last_error" field.

func LastErrorIsNil

func LastErrorIsNil() predicate.AgentRun

LastErrorIsNil applies the IsNil predicate on the "last_error" field.

func LastErrorLT

func LastErrorLT(v string) predicate.AgentRun

LastErrorLT applies the LT predicate on the "last_error" field.

func LastErrorLTE

func LastErrorLTE(v string) predicate.AgentRun

LastErrorLTE applies the LTE predicate on the "last_error" field.

func LastErrorNEQ

func LastErrorNEQ(v string) predicate.AgentRun

LastErrorNEQ applies the NEQ predicate on the "last_error" field.

func LastErrorNotIn

func LastErrorNotIn(vs ...string) predicate.AgentRun

LastErrorNotIn applies the NotIn predicate on the "last_error" field.

func LastErrorNotNil

func LastErrorNotNil() predicate.AgentRun

LastErrorNotNil applies the NotNil predicate on the "last_error" field.

func LastHeartbeatAt

func LastHeartbeatAt(v time.Time) predicate.AgentRun

LastHeartbeatAt applies equality check predicate on the "last_heartbeat_at" field. It's identical to LastHeartbeatAtEQ.

func LastHeartbeatAtEQ

func LastHeartbeatAtEQ(v time.Time) predicate.AgentRun

LastHeartbeatAtEQ applies the EQ predicate on the "last_heartbeat_at" field.

func LastHeartbeatAtGT

func LastHeartbeatAtGT(v time.Time) predicate.AgentRun

LastHeartbeatAtGT applies the GT predicate on the "last_heartbeat_at" field.

func LastHeartbeatAtGTE

func LastHeartbeatAtGTE(v time.Time) predicate.AgentRun

LastHeartbeatAtGTE applies the GTE predicate on the "last_heartbeat_at" field.

func LastHeartbeatAtIn

func LastHeartbeatAtIn(vs ...time.Time) predicate.AgentRun

LastHeartbeatAtIn applies the In predicate on the "last_heartbeat_at" field.

func LastHeartbeatAtIsNil

func LastHeartbeatAtIsNil() predicate.AgentRun

LastHeartbeatAtIsNil applies the IsNil predicate on the "last_heartbeat_at" field.

func LastHeartbeatAtLT

func LastHeartbeatAtLT(v time.Time) predicate.AgentRun

LastHeartbeatAtLT applies the LT predicate on the "last_heartbeat_at" field.

func LastHeartbeatAtLTE

func LastHeartbeatAtLTE(v time.Time) predicate.AgentRun

LastHeartbeatAtLTE applies the LTE predicate on the "last_heartbeat_at" field.

func LastHeartbeatAtNEQ

func LastHeartbeatAtNEQ(v time.Time) predicate.AgentRun

LastHeartbeatAtNEQ applies the NEQ predicate on the "last_heartbeat_at" field.

func LastHeartbeatAtNotIn

func LastHeartbeatAtNotIn(vs ...time.Time) predicate.AgentRun

LastHeartbeatAtNotIn applies the NotIn predicate on the "last_heartbeat_at" field.

func LastHeartbeatAtNotNil

func LastHeartbeatAtNotNil() predicate.AgentRun

LastHeartbeatAtNotNil applies the NotNil predicate on the "last_heartbeat_at" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.AgentRun) predicate.AgentRun

Or groups predicates with the OR operator between them.

func OutputTokens

func OutputTokens(v int64) predicate.AgentRun

OutputTokens applies equality check predicate on the "output_tokens" field. It's identical to OutputTokensEQ.

func OutputTokensEQ

func OutputTokensEQ(v int64) predicate.AgentRun

OutputTokensEQ applies the EQ predicate on the "output_tokens" field.

func OutputTokensGT

func OutputTokensGT(v int64) predicate.AgentRun

OutputTokensGT applies the GT predicate on the "output_tokens" field.

func OutputTokensGTE

func OutputTokensGTE(v int64) predicate.AgentRun

OutputTokensGTE applies the GTE predicate on the "output_tokens" field.

func OutputTokensIn

func OutputTokensIn(vs ...int64) predicate.AgentRun

OutputTokensIn applies the In predicate on the "output_tokens" field.

func OutputTokensLT

func OutputTokensLT(v int64) predicate.AgentRun

OutputTokensLT applies the LT predicate on the "output_tokens" field.

func OutputTokensLTE

func OutputTokensLTE(v int64) predicate.AgentRun

OutputTokensLTE applies the LTE predicate on the "output_tokens" field.

func OutputTokensNEQ

func OutputTokensNEQ(v int64) predicate.AgentRun

OutputTokensNEQ applies the NEQ predicate on the "output_tokens" field.

func OutputTokensNotIn

func OutputTokensNotIn(vs ...int64) predicate.AgentRun

OutputTokensNotIn applies the NotIn predicate on the "output_tokens" field.

func PromptTokens

func PromptTokens(v int64) predicate.AgentRun

PromptTokens applies equality check predicate on the "prompt_tokens" field. It's identical to PromptTokensEQ.

func PromptTokensEQ

func PromptTokensEQ(v int64) predicate.AgentRun

PromptTokensEQ applies the EQ predicate on the "prompt_tokens" field.

func PromptTokensGT

func PromptTokensGT(v int64) predicate.AgentRun

PromptTokensGT applies the GT predicate on the "prompt_tokens" field.

func PromptTokensGTE

func PromptTokensGTE(v int64) predicate.AgentRun

PromptTokensGTE applies the GTE predicate on the "prompt_tokens" field.

func PromptTokensIn

func PromptTokensIn(vs ...int64) predicate.AgentRun

PromptTokensIn applies the In predicate on the "prompt_tokens" field.

func PromptTokensLT

func PromptTokensLT(v int64) predicate.AgentRun

PromptTokensLT applies the LT predicate on the "prompt_tokens" field.

func PromptTokensLTE

func PromptTokensLTE(v int64) predicate.AgentRun

PromptTokensLTE applies the LTE predicate on the "prompt_tokens" field.

func PromptTokensNEQ

func PromptTokensNEQ(v int64) predicate.AgentRun

PromptTokensNEQ applies the NEQ predicate on the "prompt_tokens" field.

func PromptTokensNotIn

func PromptTokensNotIn(vs ...int64) predicate.AgentRun

PromptTokensNotIn applies the NotIn predicate on the "prompt_tokens" field.

func ProviderID

func ProviderID(v uuid.UUID) predicate.AgentRun

ProviderID applies equality check predicate on the "provider_id" field. It's identical to ProviderIDEQ.

func ProviderIDEQ

func ProviderIDEQ(v uuid.UUID) predicate.AgentRun

ProviderIDEQ applies the EQ predicate on the "provider_id" field.

func ProviderIDIn

func ProviderIDIn(vs ...uuid.UUID) predicate.AgentRun

ProviderIDIn applies the In predicate on the "provider_id" field.

func ProviderIDNEQ

func ProviderIDNEQ(v uuid.UUID) predicate.AgentRun

ProviderIDNEQ applies the NEQ predicate on the "provider_id" field.

func ProviderIDNotIn

func ProviderIDNotIn(vs ...uuid.UUID) predicate.AgentRun

ProviderIDNotIn applies the NotIn predicate on the "provider_id" field.

func ReasoningTokens

func ReasoningTokens(v int64) predicate.AgentRun

ReasoningTokens applies equality check predicate on the "reasoning_tokens" field. It's identical to ReasoningTokensEQ.

func ReasoningTokensEQ

func ReasoningTokensEQ(v int64) predicate.AgentRun

ReasoningTokensEQ applies the EQ predicate on the "reasoning_tokens" field.

func ReasoningTokensGT

func ReasoningTokensGT(v int64) predicate.AgentRun

ReasoningTokensGT applies the GT predicate on the "reasoning_tokens" field.

func ReasoningTokensGTE

func ReasoningTokensGTE(v int64) predicate.AgentRun

ReasoningTokensGTE applies the GTE predicate on the "reasoning_tokens" field.

func ReasoningTokensIn

func ReasoningTokensIn(vs ...int64) predicate.AgentRun

ReasoningTokensIn applies the In predicate on the "reasoning_tokens" field.

func ReasoningTokensLT

func ReasoningTokensLT(v int64) predicate.AgentRun

ReasoningTokensLT applies the LT predicate on the "reasoning_tokens" field.

func ReasoningTokensLTE

func ReasoningTokensLTE(v int64) predicate.AgentRun

ReasoningTokensLTE applies the LTE predicate on the "reasoning_tokens" field.

func ReasoningTokensNEQ

func ReasoningTokensNEQ(v int64) predicate.AgentRun

ReasoningTokensNEQ applies the NEQ predicate on the "reasoning_tokens" field.

func ReasoningTokensNotIn

func ReasoningTokensNotIn(vs ...int64) predicate.AgentRun

ReasoningTokensNotIn applies the NotIn predicate on the "reasoning_tokens" field.

func RuntimeStartedAt

func RuntimeStartedAt(v time.Time) predicate.AgentRun

RuntimeStartedAt applies equality check predicate on the "runtime_started_at" field. It's identical to RuntimeStartedAtEQ.

func RuntimeStartedAtEQ

func RuntimeStartedAtEQ(v time.Time) predicate.AgentRun

RuntimeStartedAtEQ applies the EQ predicate on the "runtime_started_at" field.

func RuntimeStartedAtGT

func RuntimeStartedAtGT(v time.Time) predicate.AgentRun

RuntimeStartedAtGT applies the GT predicate on the "runtime_started_at" field.

func RuntimeStartedAtGTE

func RuntimeStartedAtGTE(v time.Time) predicate.AgentRun

RuntimeStartedAtGTE applies the GTE predicate on the "runtime_started_at" field.

func RuntimeStartedAtIn

func RuntimeStartedAtIn(vs ...time.Time) predicate.AgentRun

RuntimeStartedAtIn applies the In predicate on the "runtime_started_at" field.

func RuntimeStartedAtIsNil

func RuntimeStartedAtIsNil() predicate.AgentRun

RuntimeStartedAtIsNil applies the IsNil predicate on the "runtime_started_at" field.

func RuntimeStartedAtLT

func RuntimeStartedAtLT(v time.Time) predicate.AgentRun

RuntimeStartedAtLT applies the LT predicate on the "runtime_started_at" field.

func RuntimeStartedAtLTE

func RuntimeStartedAtLTE(v time.Time) predicate.AgentRun

RuntimeStartedAtLTE applies the LTE predicate on the "runtime_started_at" field.

func RuntimeStartedAtNEQ

func RuntimeStartedAtNEQ(v time.Time) predicate.AgentRun

RuntimeStartedAtNEQ applies the NEQ predicate on the "runtime_started_at" field.

func RuntimeStartedAtNotIn

func RuntimeStartedAtNotIn(vs ...time.Time) predicate.AgentRun

RuntimeStartedAtNotIn applies the NotIn predicate on the "runtime_started_at" field.

func RuntimeStartedAtNotNil

func RuntimeStartedAtNotNil() predicate.AgentRun

RuntimeStartedAtNotNil applies the NotNil predicate on the "runtime_started_at" field.

func SessionID

func SessionID(v string) predicate.AgentRun

SessionID applies equality check predicate on the "session_id" field. It's identical to SessionIDEQ.

func SessionIDContains

func SessionIDContains(v string) predicate.AgentRun

SessionIDContains applies the Contains predicate on the "session_id" field.

func SessionIDContainsFold

func SessionIDContainsFold(v string) predicate.AgentRun

SessionIDContainsFold applies the ContainsFold predicate on the "session_id" field.

func SessionIDEQ

func SessionIDEQ(v string) predicate.AgentRun

SessionIDEQ applies the EQ predicate on the "session_id" field.

func SessionIDEqualFold

func SessionIDEqualFold(v string) predicate.AgentRun

SessionIDEqualFold applies the EqualFold predicate on the "session_id" field.

func SessionIDGT

func SessionIDGT(v string) predicate.AgentRun

SessionIDGT applies the GT predicate on the "session_id" field.

func SessionIDGTE

func SessionIDGTE(v string) predicate.AgentRun

SessionIDGTE applies the GTE predicate on the "session_id" field.

func SessionIDHasPrefix

func SessionIDHasPrefix(v string) predicate.AgentRun

SessionIDHasPrefix applies the HasPrefix predicate on the "session_id" field.

func SessionIDHasSuffix

func SessionIDHasSuffix(v string) predicate.AgentRun

SessionIDHasSuffix applies the HasSuffix predicate on the "session_id" field.

func SessionIDIn

func SessionIDIn(vs ...string) predicate.AgentRun

SessionIDIn applies the In predicate on the "session_id" field.

func SessionIDIsNil

func SessionIDIsNil() predicate.AgentRun

SessionIDIsNil applies the IsNil predicate on the "session_id" field.

func SessionIDLT

func SessionIDLT(v string) predicate.AgentRun

SessionIDLT applies the LT predicate on the "session_id" field.

func SessionIDLTE

func SessionIDLTE(v string) predicate.AgentRun

SessionIDLTE applies the LTE predicate on the "session_id" field.

func SessionIDNEQ

func SessionIDNEQ(v string) predicate.AgentRun

SessionIDNEQ applies the NEQ predicate on the "session_id" field.

func SessionIDNotIn

func SessionIDNotIn(vs ...string) predicate.AgentRun

SessionIDNotIn applies the NotIn predicate on the "session_id" field.

func SessionIDNotNil

func SessionIDNotNil() predicate.AgentRun

SessionIDNotNil applies the NotNil predicate on the "session_id" field.

func SkillVersionIds

func SkillVersionIds(v pgarray.StringArray) predicate.AgentRun

SkillVersionIds applies equality check predicate on the "skill_version_ids" field. It's identical to SkillVersionIdsEQ.

func SkillVersionIdsEQ

func SkillVersionIdsEQ(v pgarray.StringArray) predicate.AgentRun

SkillVersionIdsEQ applies the EQ predicate on the "skill_version_ids" field.

func SkillVersionIdsGT

func SkillVersionIdsGT(v pgarray.StringArray) predicate.AgentRun

SkillVersionIdsGT applies the GT predicate on the "skill_version_ids" field.

func SkillVersionIdsGTE

func SkillVersionIdsGTE(v pgarray.StringArray) predicate.AgentRun

SkillVersionIdsGTE applies the GTE predicate on the "skill_version_ids" field.

func SkillVersionIdsIn

func SkillVersionIdsIn(vs ...pgarray.StringArray) predicate.AgentRun

SkillVersionIdsIn applies the In predicate on the "skill_version_ids" field.

func SkillVersionIdsIsNil

func SkillVersionIdsIsNil() predicate.AgentRun

SkillVersionIdsIsNil applies the IsNil predicate on the "skill_version_ids" field.

func SkillVersionIdsLT

func SkillVersionIdsLT(v pgarray.StringArray) predicate.AgentRun

SkillVersionIdsLT applies the LT predicate on the "skill_version_ids" field.

func SkillVersionIdsLTE

func SkillVersionIdsLTE(v pgarray.StringArray) predicate.AgentRun

SkillVersionIdsLTE applies the LTE predicate on the "skill_version_ids" field.

func SkillVersionIdsNEQ

func SkillVersionIdsNEQ(v pgarray.StringArray) predicate.AgentRun

SkillVersionIdsNEQ applies the NEQ predicate on the "skill_version_ids" field.

func SkillVersionIdsNotIn

func SkillVersionIdsNotIn(vs ...pgarray.StringArray) predicate.AgentRun

SkillVersionIdsNotIn applies the NotIn predicate on the "skill_version_ids" field.

func SkillVersionIdsNotNil

func SkillVersionIdsNotNil() predicate.AgentRun

SkillVersionIdsNotNil applies the NotNil predicate on the "skill_version_ids" field.

func SnapshotMaterializedAt

func SnapshotMaterializedAt(v time.Time) predicate.AgentRun

SnapshotMaterializedAt applies equality check predicate on the "snapshot_materialized_at" field. It's identical to SnapshotMaterializedAtEQ.

func SnapshotMaterializedAtEQ

func SnapshotMaterializedAtEQ(v time.Time) predicate.AgentRun

SnapshotMaterializedAtEQ applies the EQ predicate on the "snapshot_materialized_at" field.

func SnapshotMaterializedAtGT

func SnapshotMaterializedAtGT(v time.Time) predicate.AgentRun

SnapshotMaterializedAtGT applies the GT predicate on the "snapshot_materialized_at" field.

func SnapshotMaterializedAtGTE

func SnapshotMaterializedAtGTE(v time.Time) predicate.AgentRun

SnapshotMaterializedAtGTE applies the GTE predicate on the "snapshot_materialized_at" field.

func SnapshotMaterializedAtIn

func SnapshotMaterializedAtIn(vs ...time.Time) predicate.AgentRun

SnapshotMaterializedAtIn applies the In predicate on the "snapshot_materialized_at" field.

func SnapshotMaterializedAtIsNil

func SnapshotMaterializedAtIsNil() predicate.AgentRun

SnapshotMaterializedAtIsNil applies the IsNil predicate on the "snapshot_materialized_at" field.

func SnapshotMaterializedAtLT

func SnapshotMaterializedAtLT(v time.Time) predicate.AgentRun

SnapshotMaterializedAtLT applies the LT predicate on the "snapshot_materialized_at" field.

func SnapshotMaterializedAtLTE

func SnapshotMaterializedAtLTE(v time.Time) predicate.AgentRun

SnapshotMaterializedAtLTE applies the LTE predicate on the "snapshot_materialized_at" field.

func SnapshotMaterializedAtNEQ

func SnapshotMaterializedAtNEQ(v time.Time) predicate.AgentRun

SnapshotMaterializedAtNEQ applies the NEQ predicate on the "snapshot_materialized_at" field.

func SnapshotMaterializedAtNotIn

func SnapshotMaterializedAtNotIn(vs ...time.Time) predicate.AgentRun

SnapshotMaterializedAtNotIn applies the NotIn predicate on the "snapshot_materialized_at" field.

func SnapshotMaterializedAtNotNil

func SnapshotMaterializedAtNotNil() predicate.AgentRun

SnapshotMaterializedAtNotNil applies the NotNil predicate on the "snapshot_materialized_at" field.

func StatusEQ

func StatusEQ(v Status) predicate.AgentRun

StatusEQ applies the EQ predicate on the "status" field.

func StatusIn

func StatusIn(vs ...Status) predicate.AgentRun

StatusIn applies the In predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v Status) predicate.AgentRun

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...Status) predicate.AgentRun

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusValidator

func StatusValidator(s Status) error

StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.

func TerminalAt

func TerminalAt(v time.Time) predicate.AgentRun

TerminalAt applies equality check predicate on the "terminal_at" field. It's identical to TerminalAtEQ.

func TerminalAtEQ

func TerminalAtEQ(v time.Time) predicate.AgentRun

TerminalAtEQ applies the EQ predicate on the "terminal_at" field.

func TerminalAtGT

func TerminalAtGT(v time.Time) predicate.AgentRun

TerminalAtGT applies the GT predicate on the "terminal_at" field.

func TerminalAtGTE

func TerminalAtGTE(v time.Time) predicate.AgentRun

TerminalAtGTE applies the GTE predicate on the "terminal_at" field.

func TerminalAtIn

func TerminalAtIn(vs ...time.Time) predicate.AgentRun

TerminalAtIn applies the In predicate on the "terminal_at" field.

func TerminalAtIsNil

func TerminalAtIsNil() predicate.AgentRun

TerminalAtIsNil applies the IsNil predicate on the "terminal_at" field.

func TerminalAtLT

func TerminalAtLT(v time.Time) predicate.AgentRun

TerminalAtLT applies the LT predicate on the "terminal_at" field.

func TerminalAtLTE

func TerminalAtLTE(v time.Time) predicate.AgentRun

TerminalAtLTE applies the LTE predicate on the "terminal_at" field.

func TerminalAtNEQ

func TerminalAtNEQ(v time.Time) predicate.AgentRun

TerminalAtNEQ applies the NEQ predicate on the "terminal_at" field.

func TerminalAtNotIn

func TerminalAtNotIn(vs ...time.Time) predicate.AgentRun

TerminalAtNotIn applies the NotIn predicate on the "terminal_at" field.

func TerminalAtNotNil

func TerminalAtNotNil() predicate.AgentRun

TerminalAtNotNil applies the NotNil predicate on the "terminal_at" field.

func TicketID

func TicketID(v uuid.UUID) predicate.AgentRun

TicketID applies equality check predicate on the "ticket_id" field. It's identical to TicketIDEQ.

func TicketIDEQ

func TicketIDEQ(v uuid.UUID) predicate.AgentRun

TicketIDEQ applies the EQ predicate on the "ticket_id" field.

func TicketIDIn

func TicketIDIn(vs ...uuid.UUID) predicate.AgentRun

TicketIDIn applies the In predicate on the "ticket_id" field.

func TicketIDNEQ

func TicketIDNEQ(v uuid.UUID) predicate.AgentRun

TicketIDNEQ applies the NEQ predicate on the "ticket_id" field.

func TicketIDNotIn

func TicketIDNotIn(vs ...uuid.UUID) predicate.AgentRun

TicketIDNotIn applies the NotIn predicate on the "ticket_id" field.

func ToolTokens

func ToolTokens(v int64) predicate.AgentRun

ToolTokens applies equality check predicate on the "tool_tokens" field. It's identical to ToolTokensEQ.

func ToolTokensEQ

func ToolTokensEQ(v int64) predicate.AgentRun

ToolTokensEQ applies the EQ predicate on the "tool_tokens" field.

func ToolTokensGT

func ToolTokensGT(v int64) predicate.AgentRun

ToolTokensGT applies the GT predicate on the "tool_tokens" field.

func ToolTokensGTE

func ToolTokensGTE(v int64) predicate.AgentRun

ToolTokensGTE applies the GTE predicate on the "tool_tokens" field.

func ToolTokensIn

func ToolTokensIn(vs ...int64) predicate.AgentRun

ToolTokensIn applies the In predicate on the "tool_tokens" field.

func ToolTokensLT

func ToolTokensLT(v int64) predicate.AgentRun

ToolTokensLT applies the LT predicate on the "tool_tokens" field.

func ToolTokensLTE

func ToolTokensLTE(v int64) predicate.AgentRun

ToolTokensLTE applies the LTE predicate on the "tool_tokens" field.

func ToolTokensNEQ

func ToolTokensNEQ(v int64) predicate.AgentRun

ToolTokensNEQ applies the NEQ predicate on the "tool_tokens" field.

func ToolTokensNotIn

func ToolTokensNotIn(vs ...int64) predicate.AgentRun

ToolTokensNotIn applies the NotIn predicate on the "tool_tokens" field.

func TotalTokens

func TotalTokens(v int64) predicate.AgentRun

TotalTokens applies equality check predicate on the "total_tokens" field. It's identical to TotalTokensEQ.

func TotalTokensEQ

func TotalTokensEQ(v int64) predicate.AgentRun

TotalTokensEQ applies the EQ predicate on the "total_tokens" field.

func TotalTokensGT

func TotalTokensGT(v int64) predicate.AgentRun

TotalTokensGT applies the GT predicate on the "total_tokens" field.

func TotalTokensGTE

func TotalTokensGTE(v int64) predicate.AgentRun

TotalTokensGTE applies the GTE predicate on the "total_tokens" field.

func TotalTokensIn

func TotalTokensIn(vs ...int64) predicate.AgentRun

TotalTokensIn applies the In predicate on the "total_tokens" field.

func TotalTokensLT

func TotalTokensLT(v int64) predicate.AgentRun

TotalTokensLT applies the LT predicate on the "total_tokens" field.

func TotalTokensLTE

func TotalTokensLTE(v int64) predicate.AgentRun

TotalTokensLTE applies the LTE predicate on the "total_tokens" field.

func TotalTokensNEQ

func TotalTokensNEQ(v int64) predicate.AgentRun

TotalTokensNEQ applies the NEQ predicate on the "total_tokens" field.

func TotalTokensNotIn

func TotalTokensNotIn(vs ...int64) predicate.AgentRun

TotalTokensNotIn applies the NotIn predicate on the "total_tokens" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func WorkflowID

func WorkflowID(v uuid.UUID) predicate.AgentRun

WorkflowID applies equality check predicate on the "workflow_id" field. It's identical to WorkflowIDEQ.

func WorkflowIDEQ

func WorkflowIDEQ(v uuid.UUID) predicate.AgentRun

WorkflowIDEQ applies the EQ predicate on the "workflow_id" field.

func WorkflowIDIn

func WorkflowIDIn(vs ...uuid.UUID) predicate.AgentRun

WorkflowIDIn applies the In predicate on the "workflow_id" field.

func WorkflowIDNEQ

func WorkflowIDNEQ(v uuid.UUID) predicate.AgentRun

WorkflowIDNEQ applies the NEQ predicate on the "workflow_id" field.

func WorkflowIDNotIn

func WorkflowIDNotIn(vs ...uuid.UUID) predicate.AgentRun

WorkflowIDNotIn applies the NotIn predicate on the "workflow_id" field.

func WorkflowVersionID

func WorkflowVersionID(v uuid.UUID) predicate.AgentRun

WorkflowVersionID applies equality check predicate on the "workflow_version_id" field. It's identical to WorkflowVersionIDEQ.

func WorkflowVersionIDEQ

func WorkflowVersionIDEQ(v uuid.UUID) predicate.AgentRun

WorkflowVersionIDEQ applies the EQ predicate on the "workflow_version_id" field.

func WorkflowVersionIDIn

func WorkflowVersionIDIn(vs ...uuid.UUID) predicate.AgentRun

WorkflowVersionIDIn applies the In predicate on the "workflow_version_id" field.

func WorkflowVersionIDIsNil

func WorkflowVersionIDIsNil() predicate.AgentRun

WorkflowVersionIDIsNil applies the IsNil predicate on the "workflow_version_id" field.

func WorkflowVersionIDNEQ

func WorkflowVersionIDNEQ(v uuid.UUID) predicate.AgentRun

WorkflowVersionIDNEQ applies the NEQ predicate on the "workflow_version_id" field.

func WorkflowVersionIDNotIn

func WorkflowVersionIDNotIn(vs ...uuid.UUID) predicate.AgentRun

WorkflowVersionIDNotIn applies the NotIn predicate on the "workflow_version_id" field.

func WorkflowVersionIDNotNil

func WorkflowVersionIDNotNil() predicate.AgentRun

WorkflowVersionIDNotNil applies the NotNil predicate on the "workflow_version_id" field.

Types

type CompletionSummaryStatus

type CompletionSummaryStatus string

CompletionSummaryStatus defines the type for the "completion_summary_status" enum field.

const (
	CompletionSummaryStatusPending   CompletionSummaryStatus = "pending"
	CompletionSummaryStatusCompleted CompletionSummaryStatus = "completed"
	CompletionSummaryStatusFailed    CompletionSummaryStatus = "failed"
)

CompletionSummaryStatus values.

func (CompletionSummaryStatus) String

func (css CompletionSummaryStatus) String() string

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the AgentRun queries.

func ByAgentField

func ByAgentField(field string, opts ...sql.OrderTermOption) OrderOption

ByAgentField orders the results by agent field.

func ByAgentID

func ByAgentID(opts ...sql.OrderTermOption) OrderOption

ByAgentID orders the results by the agent_id field.

func ByAgentStepEvents

func ByAgentStepEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByAgentStepEvents orders the results by agent_step_events terms.

func ByAgentStepEventsCount

func ByAgentStepEventsCount(opts ...sql.OrderTermOption) OrderOption

ByAgentStepEventsCount orders the results by agent_step_events count.

func ByAgentTraceEvents

func ByAgentTraceEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByAgentTraceEvents orders the results by agent_trace_events terms.

func ByAgentTraceEventsCount

func ByAgentTraceEventsCount(opts ...sql.OrderTermOption) OrderOption

ByAgentTraceEventsCount orders the results by agent_trace_events count.

func ByCacheCreationInputTokens

func ByCacheCreationInputTokens(opts ...sql.OrderTermOption) OrderOption

ByCacheCreationInputTokens orders the results by the cache_creation_input_tokens field.

func ByCachedInputTokens

func ByCachedInputTokens(opts ...sql.OrderTermOption) OrderOption

ByCachedInputTokens orders the results by the cached_input_tokens field.

func ByCandidateTokens

func ByCandidateTokens(opts ...sql.OrderTermOption) OrderOption

ByCandidateTokens orders the results by the candidate_tokens field.

func ByCompletionSummaryError

func ByCompletionSummaryError(opts ...sql.OrderTermOption) OrderOption

ByCompletionSummaryError orders the results by the completion_summary_error field.

func ByCompletionSummaryGeneratedAt

func ByCompletionSummaryGeneratedAt(opts ...sql.OrderTermOption) OrderOption

ByCompletionSummaryGeneratedAt orders the results by the completion_summary_generated_at field.

func ByCompletionSummaryMarkdown

func ByCompletionSummaryMarkdown(opts ...sql.OrderTermOption) OrderOption

ByCompletionSummaryMarkdown orders the results by the completion_summary_markdown field.

func ByCompletionSummaryStatus

func ByCompletionSummaryStatus(opts ...sql.OrderTermOption) OrderOption

ByCompletionSummaryStatus orders the results by the completion_summary_status field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByCurrentForTicket

func ByCurrentForTicket(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByCurrentForTicket orders the results by current_for_ticket terms.

func ByCurrentForTicketCount

func ByCurrentForTicketCount(opts ...sql.OrderTermOption) OrderOption

ByCurrentForTicketCount orders the results by current_for_ticket count.

func ByCurrentStepChangedAt

func ByCurrentStepChangedAt(opts ...sql.OrderTermOption) OrderOption

ByCurrentStepChangedAt orders the results by the current_step_changed_at field.

func ByCurrentStepStatus

func ByCurrentStepStatus(opts ...sql.OrderTermOption) OrderOption

ByCurrentStepStatus orders the results by the current_step_status field.

func ByCurrentStepSummary

func ByCurrentStepSummary(opts ...sql.OrderTermOption) OrderOption

ByCurrentStepSummary orders the results by the current_step_summary field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByInputTokens

func ByInputTokens(opts ...sql.OrderTermOption) OrderOption

ByInputTokens orders the results by the input_tokens field.

func ByLastError

func ByLastError(opts ...sql.OrderTermOption) OrderOption

ByLastError orders the results by the last_error field.

func ByLastHeartbeatAt

func ByLastHeartbeatAt(opts ...sql.OrderTermOption) OrderOption

ByLastHeartbeatAt orders the results by the last_heartbeat_at field.

func ByOutputTokens

func ByOutputTokens(opts ...sql.OrderTermOption) OrderOption

ByOutputTokens orders the results by the output_tokens field.

func ByPromptTokens

func ByPromptTokens(opts ...sql.OrderTermOption) OrderOption

ByPromptTokens orders the results by the prompt_tokens field.

func ByProviderField

func ByProviderField(field string, opts ...sql.OrderTermOption) OrderOption

ByProviderField orders the results by provider field.

func ByProviderID

func ByProviderID(opts ...sql.OrderTermOption) OrderOption

ByProviderID orders the results by the provider_id field.

func ByReasoningTokens

func ByReasoningTokens(opts ...sql.OrderTermOption) OrderOption

ByReasoningTokens orders the results by the reasoning_tokens field.

func ByRuntimeStartedAt

func ByRuntimeStartedAt(opts ...sql.OrderTermOption) OrderOption

ByRuntimeStartedAt orders the results by the runtime_started_at field.

func BySessionID

func BySessionID(opts ...sql.OrderTermOption) OrderOption

BySessionID orders the results by the session_id field.

func BySkillVersionIds

func BySkillVersionIds(opts ...sql.OrderTermOption) OrderOption

BySkillVersionIds orders the results by the skill_version_ids field.

func BySnapshotMaterializedAt

func BySnapshotMaterializedAt(opts ...sql.OrderTermOption) OrderOption

BySnapshotMaterializedAt orders the results by the snapshot_materialized_at field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status field.

func ByTerminalAt

func ByTerminalAt(opts ...sql.OrderTermOption) OrderOption

ByTerminalAt orders the results by the terminal_at field.

func ByTicketField

func ByTicketField(field string, opts ...sql.OrderTermOption) OrderOption

ByTicketField orders the results by ticket field.

func ByTicketID

func ByTicketID(opts ...sql.OrderTermOption) OrderOption

ByTicketID orders the results by the ticket_id field.

func ByTicketRepoWorkspaces

func ByTicketRepoWorkspaces(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByTicketRepoWorkspaces orders the results by ticket_repo_workspaces terms.

func ByTicketRepoWorkspacesCount

func ByTicketRepoWorkspacesCount(opts ...sql.OrderTermOption) OrderOption

ByTicketRepoWorkspacesCount orders the results by ticket_repo_workspaces count.

func ByToolTokens

func ByToolTokens(opts ...sql.OrderTermOption) OrderOption

ByToolTokens orders the results by the tool_tokens field.

func ByTotalTokens

func ByTotalTokens(opts ...sql.OrderTermOption) OrderOption

ByTotalTokens orders the results by the total_tokens field.

func ByWorkflowField

func ByWorkflowField(field string, opts ...sql.OrderTermOption) OrderOption

ByWorkflowField orders the results by workflow field.

func ByWorkflowID

func ByWorkflowID(opts ...sql.OrderTermOption) OrderOption

ByWorkflowID orders the results by the workflow_id field.

func ByWorkflowVersionField

func ByWorkflowVersionField(field string, opts ...sql.OrderTermOption) OrderOption

ByWorkflowVersionField orders the results by workflow_version field.

func ByWorkflowVersionID

func ByWorkflowVersionID(opts ...sql.OrderTermOption) OrderOption

ByWorkflowVersionID orders the results by the workflow_version_id field.

type Status

type Status string

Status defines the type for the "status" enum field.

const (
	StatusLaunching  Status = "launching"
	StatusReady      Status = "ready"
	StatusExecuting  Status = "executing"
	StatusCompleted  Status = "completed"
	StatusErrored    Status = "errored"
	StatusTerminated Status = "terminated"
)

Status values.

func (Status) String

func (s Status) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL