read

package
v0.2.21 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PathURI = "/v1/api/agently/toolcall/by-op/{opId}"

Functions

func DefineComponent

func DefineComponent(ctx context.Context, srv *datly.Service) (contract.Path, error)

Types

type ByOpInput

type ByOpInput struct {
	ConversationId string        `parameter:",kind=query,in=conversationId" predicate:"expr,group=0,m.conversation_id = ?"`
	OpId           string        `parameter:",kind=path,in=opId" predicate:"equal,group=1,t,op_id"`
	Has            *ByOpInputHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}

func (*ByOpInput) EmbedFS

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

type ByOpInputHas

type ByOpInputHas struct {
	ConversationId bool
	OpId           bool
}

type ByOpOutput

type ByOpOutput struct {
	response.Status `parameter:",kind=output,in=status" json:",omitempty"`
	Data            []*ToolCallRow   `parameter:",kind=output,in=view" view:",batch=10000,relationalConcurrency=1" sql:"uri=sql/tool_call_by_op.sql"`
	Metrics         response.Metrics `parameter:",kind=output,in=metrics"`
}

type ToolCallRow

type ToolCallRow struct {
	MessageId         string  `sqlx:"message_id"`
	TurnId            *string `sqlx:"turn_id"`
	OpId              string  `sqlx:"op_id"`
	TraceId           *string `sqlx:"trace_id"`
	ResponsePayloadId *string `sqlx:"response_payload_id"`
}

Jump to

Keyboard shortcuts

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