Skip to content

Conversation

@keugenek
Copy link
Collaborator

No description provided.

println!(" - Create a Dagger sandbox");
println!(" - Call orchestrator.spawn_workers(llm, sandbox, prompt, validator)");

/*
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

drop commented code, set up mocking

}
}

fn is_done(&self, _response: &thread::ToolResponse) -> bool {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: implement!

Use uv package manager if you need to add extra libraries.
Program will be run using uv run main.py command.
You MUST manage your planning in a plan.md file:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

duplication with planner - need to properly limit access here to plan changes

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extract to a seaprarte PR?

// Create verification validators
let file_validator = FileExistsValidator::new(vec!["main.py".to_string()]);
let hello_validator = HelloWorldValidator;
let health_validator = HealthCheckValidator::new("python --version");
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace with app healthcheck validator and make app an API

use dabgent_sandbox::Sandbox as SandboxTrait;

// Create verification validators
let file_validator = FileExistsValidator::new(vec!["main.py".to_string()]);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add plan.md validator

self.store
.push_event(&self.stream_id, &self.aggregate_id, &event, &metadata)
.await?;
dagger_sdk::connect(|client| async move {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use orchestrators instead?

))
}

async fn create_sandbox(client: &dagger_sdk::DaggerConn) -> color_eyre::Result<DaggerSandbox> {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extract

Ok(())
}

fn create_llm() -> color_eyre::Result<rig::providers::anthropic::Client> {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extract

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants