• violentfart@lemmy.world
    link
    fedilink
    English
    arrow-up
    87
    ·
    2 days ago

    I will never understand why the model — any model in any environment — is allowed to execute commands.

    • kescusay@lemmy.worldM
      link
      fedilink
      English
      arrow-up
      30
      ·
      2 days ago

      There is exactly one situation in which it sort of makes sense: Copilot integrated with VS Code, running repo-specific commands like yarn build, with direct human oversight.

      That’s it. That’s the only situation.

      • neclimdul@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        12 hours ago

        And thank God it can do that too because “copilot build my project” saves me the intense labor and frustration of hitting F7 on my keyboard

      • underisk@lemmy.ml
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 day ago

        is there any value in saving like ten keystrokes it would take to type the command yourself while introducing the ability for an AI to hallucinate your code to death

        • kescusay@lemmy.worldM
          link
          fedilink
          English
          arrow-up
          17
          ·
          1 day ago

          Not really. I’m using Copilot for my job because I’m required to, but I limit it to creating basic scripts that accomplish very specific tasks, which it’s okay at. I never let it touch my actual codebase.

          Every experiment I’ve run to test how it does with real code from a large, production application has failed miserably. It introduces mocks, it duplicates stuff everywhere, it fakes shit when real APIs are available… I have no fucking idea how these “AI” companies have managed to convince so many businesses that producing catastrophically shitty code very quickly is a good thing.

          • trainden@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            3
            ·
            11 hours ago

            I’m using Copilot for my job because I’m required to

            Required by higher-ups? How does that work? “Use the hallucination machine or you’ll be fired”?