Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
warfaj committed Oct 25, 2024
1 parent 6422a20 commit 053b59b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pax-designtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,6 @@ impl DesigntimeManager {
}

pub fn handle_recv(&mut self, screenshot_map: Rc<RefCell<HashMap<u32, ScreenshotData>>>) -> anyhow::Result<()> {
// for each request in enqueued requests, check if there is a screenshot for it, if there is remove it from the map and fire off the llm request like
// self.pub_pax_connection.borrow_mut().send_llm_request(llm_request)
// if there isn't a screenshot for it, leave the llm request
if let Some(mut llm_request) = self.enqueued_llm_request.take() {
let mut screenshot_map = screenshot_map.borrow_mut();
if let Some(screenshot) = screenshot_map.remove(&(llm_request.request_id as u32)) {
Expand Down

0 comments on commit 053b59b

Please sign in to comment.