Remix.run Logo
blurbleblurble 4 hours ago

Did you consider incorporating ast-grep or gritql?

Congratulations, great work.

sally_glance 3 hours ago | parent | next [-]

Can't speak for OP but I tried providing ast-grep in the execution context of an execute_bash tool, but even with pretty aggressive steering most models just don't seem to use it a lot. More expensive/SOTA models or higher reasoning increases the chances but lowers speed and raises cost. Maybe due to training bias for exploration tasks?

blurbleblurble 3 hours ago | parent [-]

Yes, I've tried this passive approach too and didn't dig much further after that. I thought maybe they'd figured out something more intentional in the prompting to enable these kinds of approaches.

sally_glance 3 hours ago | parent [-]

I have a hunch model proficiency for a given CLI tool very much correlates with how many StackOverflow answers and blog entries providing examples for it there are...

blurbleblurble 3 hours ago | parent [-]

My sense is that we're at a tipping point where instruction following is getting good enough to disrupt these old habits

GodelNumbering 2 hours ago | parent | prev [-]

Not really, but interested in trying them out for a future version, especially gritql.