Expand description
A library for executing swiftide agent tools in a docker container
§Example
let executor = DockerExecutor::default()
.with_context_path(".")
.with_image_name("test")
.with_dockerfile("Dockerfile.overwritten")
.to_owned()
.start().await.unwrap();
let context = DefaultContext::from_executor(executor);
let agent = Agent::builder().context(context);
Structs§
- Context
Builder - Docker
Executor - Build a docker image with bollard and start it up
- Running
Docker Executor
Enums§
Traits§
- Tool
Executor - A tool executor that can be used within an
AgentContext