Cost per Token is not representative of the actual cost incurred because a cheaper model can waste a lot of tokens to accomplish the same task. Also this does not consider cost for cached tokens which can often make a "cheaper" model more expensive even when total tokens spent are constant
I don't understand the point of putting visible Agent Instructions on the page taking up real estate while a human has the page open in a browser. Won't an agent be able to trivially extract these instructions if they came with a display:none rule?
Amazing how many products exist purely due to Google's lack of motivation to do things right. Will be using this a lot.
Does Google Apps Script expose an API to do this though? It would be easier to download an html page from within GDocs without having to run something locally.
I haven't had a detailed look but yeah, I think most of this could be rolled into a Google App Script and made into an add-on. I actually did something similar years ago but for exporting to html for email, going through a few libraries for html and CSS manipulation and inlining.
reply