Preserve completed command assessments
This commit is contained in:
@@ -26,6 +26,7 @@ pub mod text {
|
||||
pub fn format_input<W: Write>(input: &AIAgentInput, w: &mut W) -> io::Result<()> {
|
||||
match input {
|
||||
AIAgentInput::UserQuery { .. }
|
||||
| AIAgentInput::CommandCompletionAssessment { .. }
|
||||
| AIAgentInput::AutoCodeDiffQuery { .. }
|
||||
| AIAgentInput::CreateNewProject { .. }
|
||||
| AIAgentInput::CloneRepository { .. }
|
||||
@@ -785,6 +786,7 @@ pub mod json {
|
||||
match input {
|
||||
// Do not include the user query, since it's already provided as input to the agent.
|
||||
AIAgentInput::UserQuery { .. }
|
||||
| AIAgentInput::CommandCompletionAssessment { .. }
|
||||
| AIAgentInput::AutoCodeDiffQuery { .. }
|
||||
| AIAgentInput::CreateNewProject { .. }
|
||||
| AIAgentInput::CloneRepository { .. }
|
||||
|
||||
Reference in New Issue
Block a user