runtime

package
v0.1.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	LLMConfig      *config.LLMConfig
	CLIConfig      *config.CLIEnginesConfig
	DefaultRuntime string
	CLISkillDirs   []string
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(ctx context.Context, opts Options) (*Service, error)

func (*Service) Environment

func (s *Service) Environment() *tools.Registry

func (*Service) Router

func (s *Service) Router() agent.Runner

func (*Service) Run

Run 通过配置的运行时路由器执行请求。

Directories

Path Synopsis
drivers
externalcli
Package externalcli 将外部代理 CLI 适配到 Leros agent.Runner 边界。
Package externalcli 将外部代理 CLI 适配到 Leros agent.Runner 边界。
Package events 定义共享的运行时事件契约。
Package events 定义共享的运行时事件契约。
Package mcp 通过 Model Context Protocol 暴露 Leros 运行时能力。
Package mcp 通过 Model Context Protocol 暴露 Leros 运行时能力。

Jump to

Keyboard shortcuts

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