This commit is contained in:
Ahmed Ibrahim
2025-09-12 14:15:16 -04:00
parent 3316d04ed4
commit 1c50fbb8a7
2 changed files with 10 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ const PROJECT_DOC_SEPARATOR: &str = "\n\n--- project-doc ---\n\n";
/// Combines `Config::instructions` and `AGENTS.md` (if present) into a single
/// string of instructions.
pub(crate) async fn get_user_instructions(config: &Config) -> Option<String> {
pub async fn get_user_instructions(config: &Config) -> Option<String> {
match read_project_docs(config).await {
Ok(Some(project_doc)) => match &config.user_instructions {
Some(original_instructions) => Some(format!(

File diff suppressed because one or more lines are too long