Skyvern-AI / skyvern

Automate browser-based workflows with LLMs and Computer Vision
https://www.skyvern.com
GNU Affero General Public License v3.0
10.73k stars 739 forks source link

OpenAI Key #1184

Closed derek-maurer closed 1 week ago

derek-maurer commented 1 week ago

Hey everyone,

I probably just missed something, but I'm a little confused why my setup isn't working. I configured my key in my docker compose file and it appears to be making it into the image. However, when I start a task I get a bunch of auth errors to openai saying the key is wrong. I 100% know the key is correct, I copied and pasted from my docker compose file into open web ui and confirmed chat with gpt4o is working. Here's my setup:

  1. Docker compose

    Screenshot 2024-11-13 at 9 57 10 AM
  2. Here you can see the correct key showing up inside the env of the running container

    Screenshot 2024-11-13 at 9 57 00 AM
  3. In the Skyvern UI you can see it's showing a different key, this is a bit odd because the auth errors are showing the correct key. This just may be an unrelated bug.

    Screenshot 2024-11-13 at 9 58 34 AM
  4. And finally, the auth errors in the server container showing the correct key:

    Screenshot 2024-11-13 at 9 47 25 AM
derek-maurer commented 1 week ago

It's working now. Not sure why it's all of the sudden working because as you can see from this screenshot I had two auth related failures, made no changes at all to the setup and then the auth related failures went away... 🤷‍♂️

Screenshot 2024-11-13 at 2 53 24 PM