vv-agent 0.6.0

VectorVein agent runtime, SDK, CLI, tools, and workspace backends
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde_json::Value;

use crate::llm::LlmClient;
use crate::runtime::hooks::RuntimeHookManager;
use crate::types::AgentTask;

use super::AgentRuntime;

impl<C: LlmClient + Clone + 'static> AgentRuntime<C> {
    pub(super) fn planned_tool_schemas(&self, task: &AgentTask) -> Vec<Value> {
        self.tool_registry.planned_openai_schemas(task)
    }

    pub(super) fn hook_manager(&self) -> RuntimeHookManager {
        RuntimeHookManager::new(self.hooks.clone())
    }
}