Jonathan Korstad's picture

Jonathan Korstad PRO

jkorstad

AI & ML interests

Deep Reinforcement Learning, Generative 3D, Accessibility, Multimodal Models, Agents, Computer Vision. Staying curious.

Recent Activity

Organizations

Hugging Face Party @ PyTorch Conference's profile picture

jkorstad's activity

upvoted an article 4 days ago
view article
Article

Open-R1: a fully open reproduction of DeepSeek-R1

β€’ 607
reacted to m-ric's post with πŸ”₯ 4 days ago
view post
Post
2076
Now you can launch a code agent directly from your terminal!
✨ πšœπš–πš˜πš•πšŠπšπšŽπš—πš "πšˆπš˜πšžπš› πšπšŠπšœπš”" directly launches a CodeAgent
▢️ This also works with web agents (replace πšœπš–πš˜πš•πšŠπšπšŽπš—πš with πš πšŽπš‹πšŠπšπšŽπš—πš) thanks to @merve !

πŸ’Ύ Another treat from smolagents release 1.7.0:
Now agents have a memory mechanism, enabling many possibilities like replaying the last run with πšŠπšπšŽπš—πš.πš›πšŽπš™πš•πšŠπš’(), thank you @clefourrier !

Check the release notes here πŸ‘‰ https://github.com/huggingface/smolagents/releases/tag/v1.7.0
commented on We now support VLMs in smolagents! 11 days ago
view reply

Note: for the modal closing selectors please note that modals are also known as dialog elements and if built robustly should have a role="dialog" attribute in this is something that can be searched for when identifying these pop up windows.

In addition, any dialog/modal window should be closeable via the escape key as well!

Hope this helps identify modals/dialogs in a broader sense and/or helps close them out easier!

related code chunk from above for reference :)



@tool
	
def close_popups() -> str:
    """
    Closes any visible modal or pop-up on the page. Use this to dismiss pop-up windows! This does not work on cookie consent banners.
    """
    # Common selectors for modal close buttons and overlay elements
    modal_selectors = [
        "button[class*='close']",
        "[class*='modal']",
        "[class*='modal'] button",
        "[class*='CloseButton']",
        "[aria-label*='close']",
        ".modal-close",
        ".close-modal",
        ".modal .close",
        ".modal-backdrop",
        ".modal-overlay",
        "[class*='overlay']"
    ]
upvoted an article 11 days ago
view article
Article

We now support VLMs in smolagents!

β€’ 70