Documentation
¶
Index ¶
- Constants
- Variables
- func AdapterTypeEQ(v AdapterType) predicate.AgentProvider
- func AdapterTypeIn(vs ...AdapterType) predicate.AgentProvider
- func AdapterTypeNEQ(v AdapterType) predicate.AgentProvider
- func AdapterTypeNotIn(vs ...AdapterType) predicate.AgentProvider
- func AdapterTypeValidator(at AdapterType) error
- func And(predicates ...predicate.AgentProvider) predicate.AgentProvider
- func CliArgs(v pgarray.StringArray) predicate.AgentProvider
- func CliArgsEQ(v pgarray.StringArray) predicate.AgentProvider
- func CliArgsGT(v pgarray.StringArray) predicate.AgentProvider
- func CliArgsGTE(v pgarray.StringArray) predicate.AgentProvider
- func CliArgsIn(vs ...pgarray.StringArray) predicate.AgentProvider
- func CliArgsIsNil() predicate.AgentProvider
- func CliArgsLT(v pgarray.StringArray) predicate.AgentProvider
- func CliArgsLTE(v pgarray.StringArray) predicate.AgentProvider
- func CliArgsNEQ(v pgarray.StringArray) predicate.AgentProvider
- func CliArgsNotIn(vs ...pgarray.StringArray) predicate.AgentProvider
- func CliArgsNotNil() predicate.AgentProvider
- func CliCommand(v string) predicate.AgentProvider
- func CliCommandContains(v string) predicate.AgentProvider
- func CliCommandContainsFold(v string) predicate.AgentProvider
- func CliCommandEQ(v string) predicate.AgentProvider
- func CliCommandEqualFold(v string) predicate.AgentProvider
- func CliCommandGT(v string) predicate.AgentProvider
- func CliCommandGTE(v string) predicate.AgentProvider
- func CliCommandHasPrefix(v string) predicate.AgentProvider
- func CliCommandHasSuffix(v string) predicate.AgentProvider
- func CliCommandIn(vs ...string) predicate.AgentProvider
- func CliCommandLT(v string) predicate.AgentProvider
- func CliCommandLTE(v string) predicate.AgentProvider
- func CliCommandNEQ(v string) predicate.AgentProvider
- func CliCommandNotIn(vs ...string) predicate.AgentProvider
- func CliRateLimitUpdatedAt(v time.Time) predicate.AgentProvider
- func CliRateLimitUpdatedAtEQ(v time.Time) predicate.AgentProvider
- func CliRateLimitUpdatedAtGT(v time.Time) predicate.AgentProvider
- func CliRateLimitUpdatedAtGTE(v time.Time) predicate.AgentProvider
- func CliRateLimitUpdatedAtIn(vs ...time.Time) predicate.AgentProvider
- func CliRateLimitUpdatedAtIsNil() predicate.AgentProvider
- func CliRateLimitUpdatedAtLT(v time.Time) predicate.AgentProvider
- func CliRateLimitUpdatedAtLTE(v time.Time) predicate.AgentProvider
- func CliRateLimitUpdatedAtNEQ(v time.Time) predicate.AgentProvider
- func CliRateLimitUpdatedAtNotIn(vs ...time.Time) predicate.AgentProvider
- func CliRateLimitUpdatedAtNotNil() predicate.AgentProvider
- func CostPerInputToken(v float64) predicate.AgentProvider
- func CostPerInputTokenEQ(v float64) predicate.AgentProvider
- func CostPerInputTokenGT(v float64) predicate.AgentProvider
- func CostPerInputTokenGTE(v float64) predicate.AgentProvider
- func CostPerInputTokenIn(vs ...float64) predicate.AgentProvider
- func CostPerInputTokenLT(v float64) predicate.AgentProvider
- func CostPerInputTokenLTE(v float64) predicate.AgentProvider
- func CostPerInputTokenNEQ(v float64) predicate.AgentProvider
- func CostPerInputTokenNotIn(vs ...float64) predicate.AgentProvider
- func CostPerOutputToken(v float64) predicate.AgentProvider
- func CostPerOutputTokenEQ(v float64) predicate.AgentProvider
- func CostPerOutputTokenGT(v float64) predicate.AgentProvider
- func CostPerOutputTokenGTE(v float64) predicate.AgentProvider
- func CostPerOutputTokenIn(vs ...float64) predicate.AgentProvider
- func CostPerOutputTokenLT(v float64) predicate.AgentProvider
- func CostPerOutputTokenLTE(v float64) predicate.AgentProvider
- func CostPerOutputTokenNEQ(v float64) predicate.AgentProvider
- func CostPerOutputTokenNotIn(vs ...float64) predicate.AgentProvider
- func HasAgentRuns() predicate.AgentProvider
- func HasAgentRunsWith(preds ...predicate.AgentRun) predicate.AgentProvider
- func HasAgents() predicate.AgentProvider
- func HasAgentsWith(preds ...predicate.Agent) predicate.AgentProvider
- func HasMachine() predicate.AgentProvider
- func HasMachineWith(preds ...predicate.Machine) predicate.AgentProvider
- func HasOrganization() predicate.AgentProvider
- func HasOrganizationWith(preds ...predicate.Organization) predicate.AgentProvider
- func ID(id uuid.UUID) predicate.AgentProvider
- func IDEQ(id uuid.UUID) predicate.AgentProvider
- func IDGT(id uuid.UUID) predicate.AgentProvider
- func IDGTE(id uuid.UUID) predicate.AgentProvider
- func IDIn(ids ...uuid.UUID) predicate.AgentProvider
- func IDLT(id uuid.UUID) predicate.AgentProvider
- func IDLTE(id uuid.UUID) predicate.AgentProvider
- func IDNEQ(id uuid.UUID) predicate.AgentProvider
- func IDNotIn(ids ...uuid.UUID) predicate.AgentProvider
- func MachineID(v uuid.UUID) predicate.AgentProvider
- func MachineIDEQ(v uuid.UUID) predicate.AgentProvider
- func MachineIDIn(vs ...uuid.UUID) predicate.AgentProvider
- func MachineIDNEQ(v uuid.UUID) predicate.AgentProvider
- func MachineIDNotIn(vs ...uuid.UUID) predicate.AgentProvider
- func MaxParallelRuns(v int) predicate.AgentProvider
- func MaxParallelRunsEQ(v int) predicate.AgentProvider
- func MaxParallelRunsGT(v int) predicate.AgentProvider
- func MaxParallelRunsGTE(v int) predicate.AgentProvider
- func MaxParallelRunsIn(vs ...int) predicate.AgentProvider
- func MaxParallelRunsLT(v int) predicate.AgentProvider
- func MaxParallelRunsLTE(v int) predicate.AgentProvider
- func MaxParallelRunsNEQ(v int) predicate.AgentProvider
- func MaxParallelRunsNotIn(vs ...int) predicate.AgentProvider
- func ModelMaxTokens(v int) predicate.AgentProvider
- func ModelMaxTokensEQ(v int) predicate.AgentProvider
- func ModelMaxTokensGT(v int) predicate.AgentProvider
- func ModelMaxTokensGTE(v int) predicate.AgentProvider
- func ModelMaxTokensIn(vs ...int) predicate.AgentProvider
- func ModelMaxTokensLT(v int) predicate.AgentProvider
- func ModelMaxTokensLTE(v int) predicate.AgentProvider
- func ModelMaxTokensNEQ(v int) predicate.AgentProvider
- func ModelMaxTokensNotIn(vs ...int) predicate.AgentProvider
- func ModelName(v string) predicate.AgentProvider
- func ModelNameContains(v string) predicate.AgentProvider
- func ModelNameContainsFold(v string) predicate.AgentProvider
- func ModelNameEQ(v string) predicate.AgentProvider
- func ModelNameEqualFold(v string) predicate.AgentProvider
- func ModelNameGT(v string) predicate.AgentProvider
- func ModelNameGTE(v string) predicate.AgentProvider
- func ModelNameHasPrefix(v string) predicate.AgentProvider
- func ModelNameHasSuffix(v string) predicate.AgentProvider
- func ModelNameIn(vs ...string) predicate.AgentProvider
- func ModelNameLT(v string) predicate.AgentProvider
- func ModelNameLTE(v string) predicate.AgentProvider
- func ModelNameNEQ(v string) predicate.AgentProvider
- func ModelNameNotIn(vs ...string) predicate.AgentProvider
- func ModelTemperature(v float64) predicate.AgentProvider
- func ModelTemperatureEQ(v float64) predicate.AgentProvider
- func ModelTemperatureGT(v float64) predicate.AgentProvider
- func ModelTemperatureGTE(v float64) predicate.AgentProvider
- func ModelTemperatureIn(vs ...float64) predicate.AgentProvider
- func ModelTemperatureLT(v float64) predicate.AgentProvider
- func ModelTemperatureLTE(v float64) predicate.AgentProvider
- func ModelTemperatureNEQ(v float64) predicate.AgentProvider
- func ModelTemperatureNotIn(vs ...float64) predicate.AgentProvider
- func Name(v string) predicate.AgentProvider
- func NameContains(v string) predicate.AgentProvider
- func NameContainsFold(v string) predicate.AgentProvider
- func NameEQ(v string) predicate.AgentProvider
- func NameEqualFold(v string) predicate.AgentProvider
- func NameGT(v string) predicate.AgentProvider
- func NameGTE(v string) predicate.AgentProvider
- func NameHasPrefix(v string) predicate.AgentProvider
- func NameHasSuffix(v string) predicate.AgentProvider
- func NameIn(vs ...string) predicate.AgentProvider
- func NameLT(v string) predicate.AgentProvider
- func NameLTE(v string) predicate.AgentProvider
- func NameNEQ(v string) predicate.AgentProvider
- func NameNotIn(vs ...string) predicate.AgentProvider
- func Not(p predicate.AgentProvider) predicate.AgentProvider
- func Or(predicates ...predicate.AgentProvider) predicate.AgentProvider
- func OrganizationID(v uuid.UUID) predicate.AgentProvider
- func OrganizationIDEQ(v uuid.UUID) predicate.AgentProvider
- func OrganizationIDIn(vs ...uuid.UUID) predicate.AgentProvider
- func OrganizationIDNEQ(v uuid.UUID) predicate.AgentProvider
- func OrganizationIDNotIn(vs ...uuid.UUID) predicate.AgentProvider
- func PermissionProfileEQ(v PermissionProfile) predicate.AgentProvider
- func PermissionProfileIn(vs ...PermissionProfile) predicate.AgentProvider
- func PermissionProfileNEQ(v PermissionProfile) predicate.AgentProvider
- func PermissionProfileNotIn(vs ...PermissionProfile) predicate.AgentProvider
- func PermissionProfileValidator(pp PermissionProfile) error
- func ReasoningEffort(v string) predicate.AgentProvider
- func ReasoningEffortContains(v string) predicate.AgentProvider
- func ReasoningEffortContainsFold(v string) predicate.AgentProvider
- func ReasoningEffortEQ(v string) predicate.AgentProvider
- func ReasoningEffortEqualFold(v string) predicate.AgentProvider
- func ReasoningEffortGT(v string) predicate.AgentProvider
- func ReasoningEffortGTE(v string) predicate.AgentProvider
- func ReasoningEffortHasPrefix(v string) predicate.AgentProvider
- func ReasoningEffortHasSuffix(v string) predicate.AgentProvider
- func ReasoningEffortIn(vs ...string) predicate.AgentProvider
- func ReasoningEffortIsNil() predicate.AgentProvider
- func ReasoningEffortLT(v string) predicate.AgentProvider
- func ReasoningEffortLTE(v string) predicate.AgentProvider
- func ReasoningEffortNEQ(v string) predicate.AgentProvider
- func ReasoningEffortNotIn(vs ...string) predicate.AgentProvider
- func ReasoningEffortNotNil() predicate.AgentProvider
- func ValidColumn(column string) bool
- type AdapterType
- type OrderOption
- func ByAdapterType(opts ...sql.OrderTermOption) OrderOption
- func ByAgentRuns(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAgentRunsCount(opts ...sql.OrderTermOption) OrderOption
- func ByAgents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAgentsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCliArgs(opts ...sql.OrderTermOption) OrderOption
- func ByCliCommand(opts ...sql.OrderTermOption) OrderOption
- func ByCliRateLimitUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCostPerInputToken(opts ...sql.OrderTermOption) OrderOption
- func ByCostPerOutputToken(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMachineField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByMachineID(opts ...sql.OrderTermOption) OrderOption
- func ByMaxParallelRuns(opts ...sql.OrderTermOption) OrderOption
- func ByModelMaxTokens(opts ...sql.OrderTermOption) OrderOption
- func ByModelName(opts ...sql.OrderTermOption) OrderOption
- func ByModelTemperature(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
- func ByPermissionProfile(opts ...sql.OrderTermOption) OrderOption
- func ByReasoningEffort(opts ...sql.OrderTermOption) OrderOption
- type PermissionProfile
Constants ¶
const ( // Label holds the string label denoting the agentprovider type in the database. Label = "agent_provider" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldOrganizationID holds the string denoting the organization_id field in the database. FieldOrganizationID = "organization_id" // FieldMachineID holds the string denoting the machine_id field in the database. FieldMachineID = "machine_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldAdapterType holds the string denoting the adapter_type field in the database. FieldAdapterType = "adapter_type" // FieldPermissionProfile holds the string denoting the permission_profile field in the database. FieldPermissionProfile = "permission_profile" // FieldCliCommand holds the string denoting the cli_command field in the database. FieldCliCommand = "cli_command" // FieldCliArgs holds the string denoting the cli_args field in the database. FieldCliArgs = "cli_args" // FieldAuthConfig holds the string denoting the auth_config field in the database. FieldAuthConfig = "auth_config" // FieldCliRateLimit holds the string denoting the cli_rate_limit field in the database. FieldCliRateLimit = "cli_rate_limit" // FieldCliRateLimitUpdatedAt holds the string denoting the cli_rate_limit_updated_at field in the database. FieldCliRateLimitUpdatedAt = "cli_rate_limit_updated_at" // FieldModelName holds the string denoting the model_name field in the database. FieldModelName = "model_name" // FieldReasoningEffort holds the string denoting the reasoning_effort field in the database. FieldReasoningEffort = "reasoning_effort" // FieldModelTemperature holds the string denoting the model_temperature field in the database. FieldModelTemperature = "model_temperature" // FieldModelMaxTokens holds the string denoting the model_max_tokens field in the database. FieldModelMaxTokens = "model_max_tokens" // FieldMaxParallelRuns holds the string denoting the max_parallel_runs field in the database. FieldMaxParallelRuns = "max_parallel_runs" // FieldCostPerInputToken holds the string denoting the cost_per_input_token field in the database. FieldCostPerInputToken = "cost_per_input_token" // FieldCostPerOutputToken holds the string denoting the cost_per_output_token field in the database. FieldCostPerOutputToken = "cost_per_output_token" // FieldPricingConfig holds the string denoting the pricing_config field in the database. FieldPricingConfig = "pricing_config" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // EdgeMachine holds the string denoting the machine edge name in mutations. EdgeMachine = "machine" // EdgeAgents holds the string denoting the agents edge name in mutations. EdgeAgents = "agents" // EdgeAgentRuns holds the string denoting the agent_runs edge name in mutations. EdgeAgentRuns = "agent_runs" // Table holds the table name of the agentprovider in the database. Table = "agent_providers" // OrganizationTable is the table that holds the organization relation/edge. OrganizationTable = "agent_providers" // OrganizationInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationInverseTable = "organizations" // OrganizationColumn is the table column denoting the organization relation/edge. OrganizationColumn = "organization_id" // MachineTable is the table that holds the machine relation/edge. MachineTable = "agent_providers" // MachineInverseTable is the table name for the Machine entity. // It exists in this package in order to avoid circular dependency with the "machine" package. MachineInverseTable = "machines" // MachineColumn is the table column denoting the machine relation/edge. MachineColumn = "machine_id" // AgentsTable is the table that holds the agents relation/edge. AgentsTable = "agents" // AgentsInverseTable is the table name for the Agent entity. // It exists in this package in order to avoid circular dependency with the "agent" package. AgentsInverseTable = "agents" // AgentsColumn is the table column denoting the agents relation/edge. AgentsColumn = "provider_id" // AgentRunsTable is the table that holds the agent_runs relation/edge. AgentRunsTable = "agent_runs" // AgentRunsInverseTable is the table name for the AgentRun entity. // It exists in this package in order to avoid circular dependency with the "agentrun" package. AgentRunsInverseTable = "agent_runs" // AgentRunsColumn is the table column denoting the agent_runs relation/edge. AgentRunsColumn = "provider_id" )
const DefaultPermissionProfile = PermissionProfileUnrestricted
PermissionProfileUnrestricted is the default value of the PermissionProfile enum.
Variables ¶
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // CliCommandValidator is a validator for the "cli_command" field. It is called by the builders before save. CliCommandValidator func(string) error // DefaultAuthConfig holds the default value on creation for the "auth_config" field. DefaultAuthConfig func() map[string]interface{} // DefaultCliRateLimit holds the default value on creation for the "cli_rate_limit" field. DefaultCliRateLimit func() map[string]interface{} // ModelNameValidator is a validator for the "model_name" field. It is called by the builders before save. ModelNameValidator func(string) error // DefaultModelTemperature holds the default value on creation for the "model_temperature" field. DefaultModelTemperature float64 // DefaultModelMaxTokens holds the default value on creation for the "model_max_tokens" field. DefaultModelMaxTokens int // DefaultMaxParallelRuns holds the default value on creation for the "max_parallel_runs" field. DefaultMaxParallelRuns int // DefaultCostPerInputToken holds the default value on creation for the "cost_per_input_token" field. DefaultCostPerInputToken float64 // DefaultCostPerOutputToken holds the default value on creation for the "cost_per_output_token" field. DefaultCostPerOutputToken float64 // DefaultPricingConfig holds the default value on creation for the "pricing_config" field. DefaultPricingConfig func() map[string]interface{} // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldOrganizationID, FieldMachineID, FieldName, FieldAdapterType, FieldPermissionProfile, FieldCliCommand, FieldCliArgs, FieldAuthConfig, FieldCliRateLimit, FieldCliRateLimitUpdatedAt, FieldModelName, FieldReasoningEffort, FieldModelTemperature, FieldModelMaxTokens, FieldMaxParallelRuns, FieldCostPerInputToken, FieldCostPerOutputToken, FieldPricingConfig, }
Columns holds all SQL columns for agentprovider fields.
Functions ¶
func AdapterTypeEQ ¶
func AdapterTypeEQ(v AdapterType) predicate.AgentProvider
AdapterTypeEQ applies the EQ predicate on the "adapter_type" field.
func AdapterTypeIn ¶
func AdapterTypeIn(vs ...AdapterType) predicate.AgentProvider
AdapterTypeIn applies the In predicate on the "adapter_type" field.
func AdapterTypeNEQ ¶
func AdapterTypeNEQ(v AdapterType) predicate.AgentProvider
AdapterTypeNEQ applies the NEQ predicate on the "adapter_type" field.
func AdapterTypeNotIn ¶
func AdapterTypeNotIn(vs ...AdapterType) predicate.AgentProvider
AdapterTypeNotIn applies the NotIn predicate on the "adapter_type" field.
func AdapterTypeValidator ¶
func AdapterTypeValidator(at AdapterType) error
AdapterTypeValidator is a validator for the "adapter_type" field enum values. It is called by the builders before save.
func And ¶
func And(predicates ...predicate.AgentProvider) predicate.AgentProvider
And groups predicates with the AND operator between them.
func CliArgs ¶
func CliArgs(v pgarray.StringArray) predicate.AgentProvider
CliArgs applies equality check predicate on the "cli_args" field. It's identical to CliArgsEQ.
func CliArgsEQ ¶
func CliArgsEQ(v pgarray.StringArray) predicate.AgentProvider
CliArgsEQ applies the EQ predicate on the "cli_args" field.
func CliArgsGT ¶
func CliArgsGT(v pgarray.StringArray) predicate.AgentProvider
CliArgsGT applies the GT predicate on the "cli_args" field.
func CliArgsGTE ¶
func CliArgsGTE(v pgarray.StringArray) predicate.AgentProvider
CliArgsGTE applies the GTE predicate on the "cli_args" field.
func CliArgsIn ¶
func CliArgsIn(vs ...pgarray.StringArray) predicate.AgentProvider
CliArgsIn applies the In predicate on the "cli_args" field.
func CliArgsIsNil ¶
func CliArgsIsNil() predicate.AgentProvider
CliArgsIsNil applies the IsNil predicate on the "cli_args" field.
func CliArgsLT ¶
func CliArgsLT(v pgarray.StringArray) predicate.AgentProvider
CliArgsLT applies the LT predicate on the "cli_args" field.
func CliArgsLTE ¶
func CliArgsLTE(v pgarray.StringArray) predicate.AgentProvider
CliArgsLTE applies the LTE predicate on the "cli_args" field.
func CliArgsNEQ ¶
func CliArgsNEQ(v pgarray.StringArray) predicate.AgentProvider
CliArgsNEQ applies the NEQ predicate on the "cli_args" field.
func CliArgsNotIn ¶
func CliArgsNotIn(vs ...pgarray.StringArray) predicate.AgentProvider
CliArgsNotIn applies the NotIn predicate on the "cli_args" field.
func CliArgsNotNil ¶
func CliArgsNotNil() predicate.AgentProvider
CliArgsNotNil applies the NotNil predicate on the "cli_args" field.
func CliCommand ¶
func CliCommand(v string) predicate.AgentProvider
CliCommand applies equality check predicate on the "cli_command" field. It's identical to CliCommandEQ.
func CliCommandContains ¶
func CliCommandContains(v string) predicate.AgentProvider
CliCommandContains applies the Contains predicate on the "cli_command" field.
func CliCommandContainsFold ¶
func CliCommandContainsFold(v string) predicate.AgentProvider
CliCommandContainsFold applies the ContainsFold predicate on the "cli_command" field.
func CliCommandEQ ¶
func CliCommandEQ(v string) predicate.AgentProvider
CliCommandEQ applies the EQ predicate on the "cli_command" field.
func CliCommandEqualFold ¶
func CliCommandEqualFold(v string) predicate.AgentProvider
CliCommandEqualFold applies the EqualFold predicate on the "cli_command" field.
func CliCommandGT ¶
func CliCommandGT(v string) predicate.AgentProvider
CliCommandGT applies the GT predicate on the "cli_command" field.
func CliCommandGTE ¶
func CliCommandGTE(v string) predicate.AgentProvider
CliCommandGTE applies the GTE predicate on the "cli_command" field.
func CliCommandHasPrefix ¶
func CliCommandHasPrefix(v string) predicate.AgentProvider
CliCommandHasPrefix applies the HasPrefix predicate on the "cli_command" field.
func CliCommandHasSuffix ¶
func CliCommandHasSuffix(v string) predicate.AgentProvider
CliCommandHasSuffix applies the HasSuffix predicate on the "cli_command" field.
func CliCommandIn ¶
func CliCommandIn(vs ...string) predicate.AgentProvider
CliCommandIn applies the In predicate on the "cli_command" field.
func CliCommandLT ¶
func CliCommandLT(v string) predicate.AgentProvider
CliCommandLT applies the LT predicate on the "cli_command" field.
func CliCommandLTE ¶
func CliCommandLTE(v string) predicate.AgentProvider
CliCommandLTE applies the LTE predicate on the "cli_command" field.
func CliCommandNEQ ¶
func CliCommandNEQ(v string) predicate.AgentProvider
CliCommandNEQ applies the NEQ predicate on the "cli_command" field.
func CliCommandNotIn ¶
func CliCommandNotIn(vs ...string) predicate.AgentProvider
CliCommandNotIn applies the NotIn predicate on the "cli_command" field.
func CliRateLimitUpdatedAt ¶
func CliRateLimitUpdatedAt(v time.Time) predicate.AgentProvider
CliRateLimitUpdatedAt applies equality check predicate on the "cli_rate_limit_updated_at" field. It's identical to CliRateLimitUpdatedAtEQ.
func CliRateLimitUpdatedAtEQ ¶
func CliRateLimitUpdatedAtEQ(v time.Time) predicate.AgentProvider
CliRateLimitUpdatedAtEQ applies the EQ predicate on the "cli_rate_limit_updated_at" field.
func CliRateLimitUpdatedAtGT ¶
func CliRateLimitUpdatedAtGT(v time.Time) predicate.AgentProvider
CliRateLimitUpdatedAtGT applies the GT predicate on the "cli_rate_limit_updated_at" field.
func CliRateLimitUpdatedAtGTE ¶
func CliRateLimitUpdatedAtGTE(v time.Time) predicate.AgentProvider
CliRateLimitUpdatedAtGTE applies the GTE predicate on the "cli_rate_limit_updated_at" field.
func CliRateLimitUpdatedAtIn ¶
func CliRateLimitUpdatedAtIn(vs ...time.Time) predicate.AgentProvider
CliRateLimitUpdatedAtIn applies the In predicate on the "cli_rate_limit_updated_at" field.
func CliRateLimitUpdatedAtIsNil ¶
func CliRateLimitUpdatedAtIsNil() predicate.AgentProvider
CliRateLimitUpdatedAtIsNil applies the IsNil predicate on the "cli_rate_limit_updated_at" field.
func CliRateLimitUpdatedAtLT ¶
func CliRateLimitUpdatedAtLT(v time.Time) predicate.AgentProvider
CliRateLimitUpdatedAtLT applies the LT predicate on the "cli_rate_limit_updated_at" field.
func CliRateLimitUpdatedAtLTE ¶
func CliRateLimitUpdatedAtLTE(v time.Time) predicate.AgentProvider
CliRateLimitUpdatedAtLTE applies the LTE predicate on the "cli_rate_limit_updated_at" field.
func CliRateLimitUpdatedAtNEQ ¶
func CliRateLimitUpdatedAtNEQ(v time.Time) predicate.AgentProvider
CliRateLimitUpdatedAtNEQ applies the NEQ predicate on the "cli_rate_limit_updated_at" field.
func CliRateLimitUpdatedAtNotIn ¶
func CliRateLimitUpdatedAtNotIn(vs ...time.Time) predicate.AgentProvider
CliRateLimitUpdatedAtNotIn applies the NotIn predicate on the "cli_rate_limit_updated_at" field.
func CliRateLimitUpdatedAtNotNil ¶
func CliRateLimitUpdatedAtNotNil() predicate.AgentProvider
CliRateLimitUpdatedAtNotNil applies the NotNil predicate on the "cli_rate_limit_updated_at" field.
func CostPerInputToken ¶
func CostPerInputToken(v float64) predicate.AgentProvider
CostPerInputToken applies equality check predicate on the "cost_per_input_token" field. It's identical to CostPerInputTokenEQ.
func CostPerInputTokenEQ ¶
func CostPerInputTokenEQ(v float64) predicate.AgentProvider
CostPerInputTokenEQ applies the EQ predicate on the "cost_per_input_token" field.
func CostPerInputTokenGT ¶
func CostPerInputTokenGT(v float64) predicate.AgentProvider
CostPerInputTokenGT applies the GT predicate on the "cost_per_input_token" field.
func CostPerInputTokenGTE ¶
func CostPerInputTokenGTE(v float64) predicate.AgentProvider
CostPerInputTokenGTE applies the GTE predicate on the "cost_per_input_token" field.
func CostPerInputTokenIn ¶
func CostPerInputTokenIn(vs ...float64) predicate.AgentProvider
CostPerInputTokenIn applies the In predicate on the "cost_per_input_token" field.
func CostPerInputTokenLT ¶
func CostPerInputTokenLT(v float64) predicate.AgentProvider
CostPerInputTokenLT applies the LT predicate on the "cost_per_input_token" field.
func CostPerInputTokenLTE ¶
func CostPerInputTokenLTE(v float64) predicate.AgentProvider
CostPerInputTokenLTE applies the LTE predicate on the "cost_per_input_token" field.
func CostPerInputTokenNEQ ¶
func CostPerInputTokenNEQ(v float64) predicate.AgentProvider
CostPerInputTokenNEQ applies the NEQ predicate on the "cost_per_input_token" field.
func CostPerInputTokenNotIn ¶
func CostPerInputTokenNotIn(vs ...float64) predicate.AgentProvider
CostPerInputTokenNotIn applies the NotIn predicate on the "cost_per_input_token" field.
func CostPerOutputToken ¶
func CostPerOutputToken(v float64) predicate.AgentProvider
CostPerOutputToken applies equality check predicate on the "cost_per_output_token" field. It's identical to CostPerOutputTokenEQ.
func CostPerOutputTokenEQ ¶
func CostPerOutputTokenEQ(v float64) predicate.AgentProvider
CostPerOutputTokenEQ applies the EQ predicate on the "cost_per_output_token" field.
func CostPerOutputTokenGT ¶
func CostPerOutputTokenGT(v float64) predicate.AgentProvider
CostPerOutputTokenGT applies the GT predicate on the "cost_per_output_token" field.
func CostPerOutputTokenGTE ¶
func CostPerOutputTokenGTE(v float64) predicate.AgentProvider
CostPerOutputTokenGTE applies the GTE predicate on the "cost_per_output_token" field.
func CostPerOutputTokenIn ¶
func CostPerOutputTokenIn(vs ...float64) predicate.AgentProvider
CostPerOutputTokenIn applies the In predicate on the "cost_per_output_token" field.
func CostPerOutputTokenLT ¶
func CostPerOutputTokenLT(v float64) predicate.AgentProvider
CostPerOutputTokenLT applies the LT predicate on the "cost_per_output_token" field.
func CostPerOutputTokenLTE ¶
func CostPerOutputTokenLTE(v float64) predicate.AgentProvider
CostPerOutputTokenLTE applies the LTE predicate on the "cost_per_output_token" field.
func CostPerOutputTokenNEQ ¶
func CostPerOutputTokenNEQ(v float64) predicate.AgentProvider
CostPerOutputTokenNEQ applies the NEQ predicate on the "cost_per_output_token" field.
func CostPerOutputTokenNotIn ¶
func CostPerOutputTokenNotIn(vs ...float64) predicate.AgentProvider
CostPerOutputTokenNotIn applies the NotIn predicate on the "cost_per_output_token" field.
func HasAgentRuns ¶
func HasAgentRuns() predicate.AgentProvider
HasAgentRuns applies the HasEdge predicate on the "agent_runs" edge.
func HasAgentRunsWith ¶
func HasAgentRunsWith(preds ...predicate.AgentRun) predicate.AgentProvider
HasAgentRunsWith applies the HasEdge predicate on the "agent_runs" edge with a given conditions (other predicates).
func HasAgents ¶
func HasAgents() predicate.AgentProvider
HasAgents applies the HasEdge predicate on the "agents" edge.
func HasAgentsWith ¶
func HasAgentsWith(preds ...predicate.Agent) predicate.AgentProvider
HasAgentsWith applies the HasEdge predicate on the "agents" edge with a given conditions (other predicates).
func HasMachine ¶
func HasMachine() predicate.AgentProvider
HasMachine applies the HasEdge predicate on the "machine" edge.
func HasMachineWith ¶
func HasMachineWith(preds ...predicate.Machine) predicate.AgentProvider
HasMachineWith applies the HasEdge predicate on the "machine" edge with a given conditions (other predicates).
func HasOrganization ¶
func HasOrganization() predicate.AgentProvider
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.AgentProvider
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.AgentProvider
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.AgentProvider
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.AgentProvider
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.AgentProvider
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.AgentProvider
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.AgentProvider
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.AgentProvider
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.AgentProvider
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.AgentProvider
IDNotIn applies the NotIn predicate on the ID field.
func MachineID ¶
func MachineID(v uuid.UUID) predicate.AgentProvider
MachineID applies equality check predicate on the "machine_id" field. It's identical to MachineIDEQ.
func MachineIDEQ ¶
func MachineIDEQ(v uuid.UUID) predicate.AgentProvider
MachineIDEQ applies the EQ predicate on the "machine_id" field.
func MachineIDIn ¶
func MachineIDIn(vs ...uuid.UUID) predicate.AgentProvider
MachineIDIn applies the In predicate on the "machine_id" field.
func MachineIDNEQ ¶
func MachineIDNEQ(v uuid.UUID) predicate.AgentProvider
MachineIDNEQ applies the NEQ predicate on the "machine_id" field.
func MachineIDNotIn ¶
func MachineIDNotIn(vs ...uuid.UUID) predicate.AgentProvider
MachineIDNotIn applies the NotIn predicate on the "machine_id" field.
func MaxParallelRuns ¶
func MaxParallelRuns(v int) predicate.AgentProvider
MaxParallelRuns applies equality check predicate on the "max_parallel_runs" field. It's identical to MaxParallelRunsEQ.
func MaxParallelRunsEQ ¶
func MaxParallelRunsEQ(v int) predicate.AgentProvider
MaxParallelRunsEQ applies the EQ predicate on the "max_parallel_runs" field.
func MaxParallelRunsGT ¶
func MaxParallelRunsGT(v int) predicate.AgentProvider
MaxParallelRunsGT applies the GT predicate on the "max_parallel_runs" field.
func MaxParallelRunsGTE ¶
func MaxParallelRunsGTE(v int) predicate.AgentProvider
MaxParallelRunsGTE applies the GTE predicate on the "max_parallel_runs" field.
func MaxParallelRunsIn ¶
func MaxParallelRunsIn(vs ...int) predicate.AgentProvider
MaxParallelRunsIn applies the In predicate on the "max_parallel_runs" field.
func MaxParallelRunsLT ¶
func MaxParallelRunsLT(v int) predicate.AgentProvider
MaxParallelRunsLT applies the LT predicate on the "max_parallel_runs" field.
func MaxParallelRunsLTE ¶
func MaxParallelRunsLTE(v int) predicate.AgentProvider
MaxParallelRunsLTE applies the LTE predicate on the "max_parallel_runs" field.
func MaxParallelRunsNEQ ¶
func MaxParallelRunsNEQ(v int) predicate.AgentProvider
MaxParallelRunsNEQ applies the NEQ predicate on the "max_parallel_runs" field.
func MaxParallelRunsNotIn ¶
func MaxParallelRunsNotIn(vs ...int) predicate.AgentProvider
MaxParallelRunsNotIn applies the NotIn predicate on the "max_parallel_runs" field.
func ModelMaxTokens ¶
func ModelMaxTokens(v int) predicate.AgentProvider
ModelMaxTokens applies equality check predicate on the "model_max_tokens" field. It's identical to ModelMaxTokensEQ.
func ModelMaxTokensEQ ¶
func ModelMaxTokensEQ(v int) predicate.AgentProvider
ModelMaxTokensEQ applies the EQ predicate on the "model_max_tokens" field.
func ModelMaxTokensGT ¶
func ModelMaxTokensGT(v int) predicate.AgentProvider
ModelMaxTokensGT applies the GT predicate on the "model_max_tokens" field.
func ModelMaxTokensGTE ¶
func ModelMaxTokensGTE(v int) predicate.AgentProvider
ModelMaxTokensGTE applies the GTE predicate on the "model_max_tokens" field.
func ModelMaxTokensIn ¶
func ModelMaxTokensIn(vs ...int) predicate.AgentProvider
ModelMaxTokensIn applies the In predicate on the "model_max_tokens" field.
func ModelMaxTokensLT ¶
func ModelMaxTokensLT(v int) predicate.AgentProvider
ModelMaxTokensLT applies the LT predicate on the "model_max_tokens" field.
func ModelMaxTokensLTE ¶
func ModelMaxTokensLTE(v int) predicate.AgentProvider
ModelMaxTokensLTE applies the LTE predicate on the "model_max_tokens" field.
func ModelMaxTokensNEQ ¶
func ModelMaxTokensNEQ(v int) predicate.AgentProvider
ModelMaxTokensNEQ applies the NEQ predicate on the "model_max_tokens" field.
func ModelMaxTokensNotIn ¶
func ModelMaxTokensNotIn(vs ...int) predicate.AgentProvider
ModelMaxTokensNotIn applies the NotIn predicate on the "model_max_tokens" field.
func ModelName ¶
func ModelName(v string) predicate.AgentProvider
ModelName applies equality check predicate on the "model_name" field. It's identical to ModelNameEQ.
func ModelNameContains ¶
func ModelNameContains(v string) predicate.AgentProvider
ModelNameContains applies the Contains predicate on the "model_name" field.
func ModelNameContainsFold ¶
func ModelNameContainsFold(v string) predicate.AgentProvider
ModelNameContainsFold applies the ContainsFold predicate on the "model_name" field.
func ModelNameEQ ¶
func ModelNameEQ(v string) predicate.AgentProvider
ModelNameEQ applies the EQ predicate on the "model_name" field.
func ModelNameEqualFold ¶
func ModelNameEqualFold(v string) predicate.AgentProvider
ModelNameEqualFold applies the EqualFold predicate on the "model_name" field.
func ModelNameGT ¶
func ModelNameGT(v string) predicate.AgentProvider
ModelNameGT applies the GT predicate on the "model_name" field.
func ModelNameGTE ¶
func ModelNameGTE(v string) predicate.AgentProvider
ModelNameGTE applies the GTE predicate on the "model_name" field.
func ModelNameHasPrefix ¶
func ModelNameHasPrefix(v string) predicate.AgentProvider
ModelNameHasPrefix applies the HasPrefix predicate on the "model_name" field.
func ModelNameHasSuffix ¶
func ModelNameHasSuffix(v string) predicate.AgentProvider
ModelNameHasSuffix applies the HasSuffix predicate on the "model_name" field.
func ModelNameIn ¶
func ModelNameIn(vs ...string) predicate.AgentProvider
ModelNameIn applies the In predicate on the "model_name" field.
func ModelNameLT ¶
func ModelNameLT(v string) predicate.AgentProvider
ModelNameLT applies the LT predicate on the "model_name" field.
func ModelNameLTE ¶
func ModelNameLTE(v string) predicate.AgentProvider
ModelNameLTE applies the LTE predicate on the "model_name" field.
func ModelNameNEQ ¶
func ModelNameNEQ(v string) predicate.AgentProvider
ModelNameNEQ applies the NEQ predicate on the "model_name" field.
func ModelNameNotIn ¶
func ModelNameNotIn(vs ...string) predicate.AgentProvider
ModelNameNotIn applies the NotIn predicate on the "model_name" field.
func ModelTemperature ¶
func ModelTemperature(v float64) predicate.AgentProvider
ModelTemperature applies equality check predicate on the "model_temperature" field. It's identical to ModelTemperatureEQ.
func ModelTemperatureEQ ¶
func ModelTemperatureEQ(v float64) predicate.AgentProvider
ModelTemperatureEQ applies the EQ predicate on the "model_temperature" field.
func ModelTemperatureGT ¶
func ModelTemperatureGT(v float64) predicate.AgentProvider
ModelTemperatureGT applies the GT predicate on the "model_temperature" field.
func ModelTemperatureGTE ¶
func ModelTemperatureGTE(v float64) predicate.AgentProvider
ModelTemperatureGTE applies the GTE predicate on the "model_temperature" field.
func ModelTemperatureIn ¶
func ModelTemperatureIn(vs ...float64) predicate.AgentProvider
ModelTemperatureIn applies the In predicate on the "model_temperature" field.
func ModelTemperatureLT ¶
func ModelTemperatureLT(v float64) predicate.AgentProvider
ModelTemperatureLT applies the LT predicate on the "model_temperature" field.
func ModelTemperatureLTE ¶
func ModelTemperatureLTE(v float64) predicate.AgentProvider
ModelTemperatureLTE applies the LTE predicate on the "model_temperature" field.
func ModelTemperatureNEQ ¶
func ModelTemperatureNEQ(v float64) predicate.AgentProvider
ModelTemperatureNEQ applies the NEQ predicate on the "model_temperature" field.
func ModelTemperatureNotIn ¶
func ModelTemperatureNotIn(vs ...float64) predicate.AgentProvider
ModelTemperatureNotIn applies the NotIn predicate on the "model_temperature" field.
func Name ¶
func Name(v string) predicate.AgentProvider
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.AgentProvider
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.AgentProvider
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.AgentProvider
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.AgentProvider
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.AgentProvider
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.AgentProvider
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.AgentProvider
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.AgentProvider
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.AgentProvider
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.AgentProvider
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.AgentProvider
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.AgentProvider
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.AgentProvider
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.AgentProvider) predicate.AgentProvider
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.AgentProvider) predicate.AgentProvider
Or groups predicates with the OR operator between them.
func OrganizationID ¶
func OrganizationID(v uuid.UUID) predicate.AgentProvider
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDEQ ¶
func OrganizationIDEQ(v uuid.UUID) predicate.AgentProvider
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDIn ¶
func OrganizationIDIn(vs ...uuid.UUID) predicate.AgentProvider
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
func OrganizationIDNEQ(v uuid.UUID) predicate.AgentProvider
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
func OrganizationIDNotIn(vs ...uuid.UUID) predicate.AgentProvider
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func PermissionProfileEQ ¶
func PermissionProfileEQ(v PermissionProfile) predicate.AgentProvider
PermissionProfileEQ applies the EQ predicate on the "permission_profile" field.
func PermissionProfileIn ¶
func PermissionProfileIn(vs ...PermissionProfile) predicate.AgentProvider
PermissionProfileIn applies the In predicate on the "permission_profile" field.
func PermissionProfileNEQ ¶
func PermissionProfileNEQ(v PermissionProfile) predicate.AgentProvider
PermissionProfileNEQ applies the NEQ predicate on the "permission_profile" field.
func PermissionProfileNotIn ¶
func PermissionProfileNotIn(vs ...PermissionProfile) predicate.AgentProvider
PermissionProfileNotIn applies the NotIn predicate on the "permission_profile" field.
func PermissionProfileValidator ¶
func PermissionProfileValidator(pp PermissionProfile) error
PermissionProfileValidator is a validator for the "permission_profile" field enum values. It is called by the builders before save.
func ReasoningEffort ¶ added in v0.5.0
func ReasoningEffort(v string) predicate.AgentProvider
ReasoningEffort applies equality check predicate on the "reasoning_effort" field. It's identical to ReasoningEffortEQ.
func ReasoningEffortContains ¶ added in v0.5.0
func ReasoningEffortContains(v string) predicate.AgentProvider
ReasoningEffortContains applies the Contains predicate on the "reasoning_effort" field.
func ReasoningEffortContainsFold ¶ added in v0.5.0
func ReasoningEffortContainsFold(v string) predicate.AgentProvider
ReasoningEffortContainsFold applies the ContainsFold predicate on the "reasoning_effort" field.
func ReasoningEffortEQ ¶ added in v0.5.0
func ReasoningEffortEQ(v string) predicate.AgentProvider
ReasoningEffortEQ applies the EQ predicate on the "reasoning_effort" field.
func ReasoningEffortEqualFold ¶ added in v0.5.0
func ReasoningEffortEqualFold(v string) predicate.AgentProvider
ReasoningEffortEqualFold applies the EqualFold predicate on the "reasoning_effort" field.
func ReasoningEffortGT ¶ added in v0.5.0
func ReasoningEffortGT(v string) predicate.AgentProvider
ReasoningEffortGT applies the GT predicate on the "reasoning_effort" field.
func ReasoningEffortGTE ¶ added in v0.5.0
func ReasoningEffortGTE(v string) predicate.AgentProvider
ReasoningEffortGTE applies the GTE predicate on the "reasoning_effort" field.
func ReasoningEffortHasPrefix ¶ added in v0.5.0
func ReasoningEffortHasPrefix(v string) predicate.AgentProvider
ReasoningEffortHasPrefix applies the HasPrefix predicate on the "reasoning_effort" field.
func ReasoningEffortHasSuffix ¶ added in v0.5.0
func ReasoningEffortHasSuffix(v string) predicate.AgentProvider
ReasoningEffortHasSuffix applies the HasSuffix predicate on the "reasoning_effort" field.
func ReasoningEffortIn ¶ added in v0.5.0
func ReasoningEffortIn(vs ...string) predicate.AgentProvider
ReasoningEffortIn applies the In predicate on the "reasoning_effort" field.
func ReasoningEffortIsNil ¶ added in v0.5.0
func ReasoningEffortIsNil() predicate.AgentProvider
ReasoningEffortIsNil applies the IsNil predicate on the "reasoning_effort" field.
func ReasoningEffortLT ¶ added in v0.5.0
func ReasoningEffortLT(v string) predicate.AgentProvider
ReasoningEffortLT applies the LT predicate on the "reasoning_effort" field.
func ReasoningEffortLTE ¶ added in v0.5.0
func ReasoningEffortLTE(v string) predicate.AgentProvider
ReasoningEffortLTE applies the LTE predicate on the "reasoning_effort" field.
func ReasoningEffortNEQ ¶ added in v0.5.0
func ReasoningEffortNEQ(v string) predicate.AgentProvider
ReasoningEffortNEQ applies the NEQ predicate on the "reasoning_effort" field.
func ReasoningEffortNotIn ¶ added in v0.5.0
func ReasoningEffortNotIn(vs ...string) predicate.AgentProvider
ReasoningEffortNotIn applies the NotIn predicate on the "reasoning_effort" field.
func ReasoningEffortNotNil ¶ added in v0.5.0
func ReasoningEffortNotNil() predicate.AgentProvider
ReasoningEffortNotNil applies the NotNil predicate on the "reasoning_effort" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type AdapterType ¶
type AdapterType string
AdapterType defines the type for the "adapter_type" enum field.
const ( AdapterTypeClaudeCodeCli AdapterType = "claude-code-cli" AdapterTypeCodexAppServer AdapterType = "codex-app-server" AdapterTypeGeminiCli AdapterType = "gemini-cli" AdapterTypeCustom AdapterType = "custom" )
AdapterType values.
func (AdapterType) String ¶
func (at AdapterType) String() string
type OrderOption ¶
OrderOption defines the ordering options for the AgentProvider queries.
func ByAdapterType ¶
func ByAdapterType(opts ...sql.OrderTermOption) OrderOption
ByAdapterType orders the results by the adapter_type field.
func ByAgentRuns ¶
func ByAgentRuns(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAgentRuns orders the results by agent_runs terms.
func ByAgentRunsCount ¶
func ByAgentRunsCount(opts ...sql.OrderTermOption) OrderOption
ByAgentRunsCount orders the results by agent_runs count.
func ByAgents ¶
func ByAgents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAgents orders the results by agents terms.
func ByAgentsCount ¶
func ByAgentsCount(opts ...sql.OrderTermOption) OrderOption
ByAgentsCount orders the results by agents count.
func ByCliArgs ¶
func ByCliArgs(opts ...sql.OrderTermOption) OrderOption
ByCliArgs orders the results by the cli_args field.
func ByCliCommand ¶
func ByCliCommand(opts ...sql.OrderTermOption) OrderOption
ByCliCommand orders the results by the cli_command field.
func ByCliRateLimitUpdatedAt ¶
func ByCliRateLimitUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByCliRateLimitUpdatedAt orders the results by the cli_rate_limit_updated_at field.
func ByCostPerInputToken ¶
func ByCostPerInputToken(opts ...sql.OrderTermOption) OrderOption
ByCostPerInputToken orders the results by the cost_per_input_token field.
func ByCostPerOutputToken ¶
func ByCostPerOutputToken(opts ...sql.OrderTermOption) OrderOption
ByCostPerOutputToken orders the results by the cost_per_output_token field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMachineField ¶
func ByMachineField(field string, opts ...sql.OrderTermOption) OrderOption
ByMachineField orders the results by machine field.
func ByMachineID ¶
func ByMachineID(opts ...sql.OrderTermOption) OrderOption
ByMachineID orders the results by the machine_id field.
func ByMaxParallelRuns ¶
func ByMaxParallelRuns(opts ...sql.OrderTermOption) OrderOption
ByMaxParallelRuns orders the results by the max_parallel_runs field.
func ByModelMaxTokens ¶
func ByModelMaxTokens(opts ...sql.OrderTermOption) OrderOption
ByModelMaxTokens orders the results by the model_max_tokens field.
func ByModelName ¶
func ByModelName(opts ...sql.OrderTermOption) OrderOption
ByModelName orders the results by the model_name field.
func ByModelTemperature ¶
func ByModelTemperature(opts ...sql.OrderTermOption) OrderOption
ByModelTemperature orders the results by the model_temperature field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOrganizationField ¶
func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
ByOrganizationField orders the results by organization field.
func ByOrganizationID ¶
func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
ByOrganizationID orders the results by the organization_id field.
func ByPermissionProfile ¶
func ByPermissionProfile(opts ...sql.OrderTermOption) OrderOption
ByPermissionProfile orders the results by the permission_profile field.
func ByReasoningEffort ¶ added in v0.5.0
func ByReasoningEffort(opts ...sql.OrderTermOption) OrderOption
ByReasoningEffort orders the results by the reasoning_effort field.
type PermissionProfile ¶
type PermissionProfile string
PermissionProfile defines the type for the "permission_profile" enum field.
const ( PermissionProfileStandard PermissionProfile = "standard" PermissionProfileUnrestricted PermissionProfile = "unrestricted" )
PermissionProfile values.
func (PermissionProfile) String ¶
func (pp PermissionProfile) String() string