Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove step history and execution context #717

Closed
wants to merge 2 commits into from

Conversation

benolt
Copy link
Contributor

@benolt benolt commented Dec 12, 2024

No description provided.

if let Some(step_history) = job_step_history {
prompt.add_step_history(step_history, 97);
}

// Add tools if any. Decrease priority every 2 tools
Copy link
Contributor

Choose a reason for hiding this comment

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

@benolt we removed the step history here but we are not adding the previous messages to the conversation 👀

@@ -494,345 +427,6 @@ mod tests {
assert_eq!(job_message_4.content, "Hello World 4".to_string());
}

#[tokio::test]
Copy link
Contributor

Choose a reason for hiding this comment

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

@benolt these test include step history but they are also testing the tree structure of the messages, we shouldnt remove the entire test

@benolt benolt force-pushed the bence/drop-step-history branch from 9fb0bfc to bc962bf Compare December 13, 2024 12:37
@benolt benolt changed the title Remove step history Remove step history and execution context Dec 13, 2024
@nicarq
Copy link
Contributor

nicarq commented Dec 29, 2024

#731

@nicarq nicarq closed this Dec 29, 2024
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