Documentation
¶
Index ¶
Constants ¶
View Source
const Name = "llm/exec"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Input ¶
type Input struct {
ConversationID string `json:"conversationId,omitempty"`
ParentConversationID string `json:"parentConversationId,omitempty"`
MessageID string `json:"messageId,omitempty"`
AgentID string `json:"agentId"`
Objective string `json:"objective"`
Context map[string]interface{} `json:"context,omitempty"`
}
Input defines the run_agent request payload.
type Output ¶
type Output struct {
Answer string `json:"answer"`
}
Output defines the run_agent response payload.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service exposes an agent runner facade as a tool service. Deprecated: prefer llm/agents:run (and llm/agents:list) for unified internal/external agent execution and directory. This service remains for backward compatibility and may be removed in a future release.
func (*Service) Method ¶
func (s *Service) Method(name string) (svc.Executable, error)
Method resolves a method by name.
func (*Service) Methods ¶
func (s *Service) Methods() svc.Signatures
Methods returns the available run methods.
func (*Service) ToolTimeout ¶ added in v0.2.10
ToolTimeout suggests a larger timeout for llm/exec service calls which may involve long-running agent turns.
Click to show internal directories.
Click to hide internal directories.