mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:20:47 +00:00
core: load aggregated hook-backed user instructions
This commit is contained in:
@@ -54,7 +54,7 @@ impl CodexHomeUserInstructionsProvider {
|
||||
return LoadedUserInstructions {
|
||||
instructions: Some(UserInstructions {
|
||||
text: trimmed.to_string(),
|
||||
source: path,
|
||||
sources: vec![path],
|
||||
}),
|
||||
warnings,
|
||||
};
|
||||
|
||||
@@ -27,8 +27,10 @@ fn expected(
|
||||
LoadedUserInstructions {
|
||||
instructions: Some(UserInstructions {
|
||||
text: text.to_string(),
|
||||
source: AbsolutePathBuf::try_from(home.path().join(filename))
|
||||
.expect("absolute source path"),
|
||||
sources: vec![
|
||||
AbsolutePathBuf::try_from(home.path().join(filename))
|
||||
.expect("absolute source path"),
|
||||
],
|
||||
}),
|
||||
warnings,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user