Skip to main content

Module plugins

Module plugins 

Source

Modules§

hot_reload
rhai_runtime
Rhai Runtime Plugin
tool
Tool module
tools
Built-in tools module
wasm_runtime
WASM Plugin Runtime Module

Structs§

AudioPlaybackConfig
Audio playback configuration
LLMPlugin
LLM 能力插件
LLMPluginConfig
LLM 插件配置
MemoryPlugin
记忆插件
MemoryStorage
内存存储后端
MockTTSEngine
A mock TTS engine for testing and development.
PluginConfig
插件配置
PluginContext
插件执行上下文
PluginManager
插件管理器
PluginMetadata
插件元数据
RhaiPlugin
Rhai plugin wrapper
RhaiPluginConfig
Rhai plugin configuration
StoragePlugin
存储插件
TTSCommand
TTS command structure for execute()
TTSPlugin
TTS Plugin implementing AgentPlugin
TTSPluginConfig
TTS plugin configuration
TextToSpeechTool
Text-to-Speech tool executor
ToolCall
工具调用请求
ToolDefinition
工具定义
ToolPlugin
工具插件
ToolPluginAdapter
Adapter that converts a Tool to an AgentPlugin
ToolResult
工具调用结果
VoiceInfo
Voice metadata information

Enums§

PluginEvent
插件事件
PluginPriority
插件优先级(用于确定执行顺序)
PluginState
插件状态
PluginType
插件类型枚举
RhaiPluginState
Rhai plugin state

Traits§

AgentPlugin
核心插件 trait
TTSEngine
Abstract TTS engine trait for extensibility
ToolExecutor
工具执行器 trait

Functions§

adapt_tool
Create a ToolPluginAdapter from a Tool
play_audio
Play audio data synchronously (fallback when rodio feature is not enabled)
play_audio_async
Play audio asynchronously

Type Aliases§

PluginResult
插件执行结果