Stuck while building the agents

i am building the space agents but when in write main script that orchestrates generation, upload, and registration… above error (in 1st black screen page) display.

Error during generation: name ‘client’ is not defined

Troubleshooting tips:

  • Check that you completed all three steps in generator.py
  • Ensure your GOOGLE_CLOUD_PROJECT environment variable is set
  • Verify the Vertex AI API is enabled for your project

how it could be resolved.

2 Likes