• violentfart@lemmy.world
    link
    fedilink
    English
    arrow-up
    97
    ·
    28 天前

    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
      32
      arrow-down
      2
      ·
      28 天前

      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.

      • underisk@lemmy.ml
        link
        fedilink
        English
        arrow-up
        12
        ·
        28 天前

        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
          19
          ·
          28 天前

          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
            5
            ·
            27 天前

            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”?

      • neclimdul@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        27 天前

        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