• Devon Rifkin's avatar
    harmony: don't sanitize built-ins · fd88cd7c
    Devon Rifkin authored
    In #11910 we started sanitizing function names, but we accidentally were
    modifying built-ins like `browser.open` to `browser_open`. This was
    removing the special prompt rendering for built-ins, but this wasn't
    immediately apparent since the models seem to be reasonably good at
    remembering the built-ins even when presented with these slightly
    renamed version. This fix prevents built-ins from ever being renamed.
    fd88cd7c
harmonyparser_test.go 17.1 KB