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);
Modules§
Structs§
- Context
Builder - Docker
Executor - Build a docker image with bollard and start it up
- Running
Docker Executor
Enums§
- Client
Error - Container
Start Error - Context
Error - Docker
Executor Error - Dockerfile
Error - Image
Build Error - Mangle
Error
Traits§
- Tool
Executor - A ToolExecutor provides an interface for agents to interact with a system in an isolated context.