edit_file

This commit is contained in:
Dhanji Prasanna
2025-09-30 13:50:02 +10:00
parent 69fc3e90dc
commit 270cbae1e6
2 changed files with 161 additions and 3 deletions

View File

@@ -137,6 +137,44 @@ pub async fn run() -> Result<()> {
}
async fn run_interactive(mut agent: Agent, show_prompt: bool, show_code: bool) -> Result<()> {
// Display the flying goose ASCII art logo
println!(r#"
___
.-' `'.
/ \
| |
| ;
| /
_.._ '. .'
.-' `'-.__`\ /`
/ | `"`
| |
| |
___..--.. | |
_.--""` `"-. | |
.-' `. | |
.' `. | |
/ ___... \| |
/ _.-"" `\ | |
| _.-' | | |
| .-' | | |
| .-' | '. .'
| .-' / |`'--...--'`|
|-' / | |
/ / | G3 |
/ ___ / | |
| __..--' `'-. | | CODING |
| __.--' `| | AGENT |
| .--' | | |
|' '. | |
| | `'--...--'--'
| |
| |
'. /
`'--..__ __.-'
``''------''``
"#);
println!();
println!("🤖 G3 AI Coding Agent - Interactive Mode");
println!(
"I solve problems by writing and executing code. Tell me what you need to accomplish!"
@@ -479,4 +517,4 @@ Keep your response concise and focused on actionable items.",
Ok(())
}
use std::io::Write;
use std::io::Write;