Skip to content

Editor: Added agent #30761

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 13 commits into
base: dev
Choose a base branch
from
Prev Previous commit
Next Next commit
Clean up.
  • Loading branch information
mrdoob committed Mar 24, 2025
commit 22d6b9232201d7c576d003fd840b640821b1ce26
3 changes: 2 additions & 1 deletion editor/js/Agent.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { GoogleGenAI } from '@google/genai';
import * as Commands from './commands/Commands.js';
import { Vector3, BoxGeometry, SphereGeometry, MeshStandardMaterial, Mesh, DirectionalLight, PointLight, AmbientLight, Color, CylinderGeometry } from 'three';

Expand Down Expand Up @@ -179,7 +180,7 @@
async init() {

// Initialize Google AI
// const session = new GoogleGenAI( { apiKey: 'GENAI_API_KEY' } );
const session = new GoogleGenAI( { apiKey: 'GENAI_API_KEY' } );

// Get scene information
const sceneInfo = this.getSceneInfo();
Expand Down
Loading