overfitting to tools

#9
by inikishev - opened

it was saying I need to use web fetch tool but instead it would use bash command for a while until it finally managed to use web fetch

 Actually, let me try using the web_fetch tool to get the GitHub page.                                                                                                                                                                                        

 Let me use the web_fetch tool to get the GitHub source for the 2.7.12 release.                                                                                                                                                                               

                                                                                                                                                                                                                                                              
 $ cd /tmp                                                                                                                                                                                                                                                    
 # Try web_fetch to get the GitHub raw content                                                                                                                                                                                                                
 echo "=== Try fetching BrowserShared.cpp from 2.7.12 tag ==="                                                                                                                                                                                                
 web_fetch_url="https://raw.githubusercontent.com/keepassxreboot/keepassxc/keepassxc-2.7.12/src/browser/BrowserShared.cpp"                                                                                                                                    
 echo "Fetching: $web_fetch_url" (timeout 5s)                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                              
 === Try fetching BrowserShared.cpp from 2.7.12 tag ===                                                                                                                                                                                                       
 Fetching: https://raw.githubusercontent.com/keepassxreboot/keepassxc/keepassxc-2.7.12/src/browser/BrowserShared.cpp                                                                                                                                          
                                                                                                                                                                                                                                                              

 Let me use the web_fetch tool to fetch the GitHub raw content.                                                                                                                                                                                               

                                                                                                                                                                                                                                                              
 web_fetch https://raw.githubusercontent.com/keepassxreboot/keepassxc/keepassxc-2.7.12/src/browser/BrowserShared.cpp                                                                                                                                          

@inikishev Thanks for this case. We'll look into why it keeps using Bash instead of calling the intended tool, and try to fix it in the next version.

Sign up or log in to comment