turn

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ActiveTurnsFS embed.FS
View Source
var ActiveTurnsPathURI = "/v1/api/agently/turn/active/active"

Functions

func DefineActiveTurnsComponent

func DefineActiveTurnsComponent(ctx context.Context, srv *datly.Service) error

Types

type ActiveTurnsInput

type ActiveTurnsInput struct {
	ConversationID string               `parameter:",kind=query,in=conversationId" predicate:"equal,group=0,t,conversation_id"`
	Has            *ActiveTurnsInputHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}

func (*ActiveTurnsInput) EmbedFS

func (i *ActiveTurnsInput) EmbedFS() *embed.FS

type ActiveTurnsInputHas

type ActiveTurnsInputHas struct {
	ConversationID bool
}

type ActiveTurnsOutput

type ActiveTurnsOutput struct {
	response.Status `parameter:",kind=output,in=status" json:",omitempty"`
	Data            []*ActiveTurnsView `` /* 128-byte string literal not displayed */
	Metrics         response.Metrics   `parameter:",kind=output,in=metrics"`
}

type ActiveTurnsView

type ActiveTurnsView struct {
	Id                    string    `sqlx:"id"`
	ConversationId        string    `sqlx:"conversation_id"`
	CreatedAt             time.Time `sqlx:"created_at"`
	QueueSeq              *int      `sqlx:"queue_seq"`
	Status                string    `sqlx:"status"`
	ErrorMessage          *string   `sqlx:"error_message"`
	StartedByMessageId    *string   `sqlx:"started_by_message_id"`
	RetryOf               *string   `sqlx:"retry_of"`
	AgentIdUsed           *string   `sqlx:"agent_id_used"`
	AgentConfigUsedId     *string   `sqlx:"agent_config_used_id"`
	ModelOverrideProvider *string   `sqlx:"model_override_provider"`
	ModelOverride         *string   `sqlx:"model_override"`
	ModelParamsOverride   *string   `sqlx:"model_params_override"`
	RunId                 *string   `sqlx:"run_id"`
}

Jump to

Keyboard shortcuts

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