Editor: Added agent by mrdoob · Pull Request #30761 · mrdoob/three.js · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
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
Draft

Editor: Added agent #30761

wants to merge 13 commits into from

Conversation

mrdoob
Copy link
Owner

@mrdoob mrdoob commented Mar 20, 2025

Description

I thought it would be interesting to try to add an agent to the editor.

This is how it currently looks like:

Screen.Recording.2025-03-20.at.15.30.19.mov

Currently I'm building it using @google/genai.

Ideally we would just use the AI that comes with the browser using the Prompt API:
https://developer.chrome.com/docs/extensions/ai/prompt-api

@mrdoob mrdoob added this to the r175 milestone Mar 20, 2025
@ruofeidu
Copy link
Contributor

Nice! Time to InstructPipe / Idea2Reality to three.js :) https://duruofei.com/papers/Zhou_InstructPipe-BuildingVisualProgrammingPipelinesInVisualBlocksWithHumanInstructionsUsingLLMs_CHI2025.pdf

mrdoob and others added 2 commits March 24, 2025 22:18
…rt, function or class

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@@ -192,7 +192,7 @@ class Agent {
async init() {

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mrdoob any problem on exposing this key?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was exposing it intentionally, but seems like githack doesn't like serving stuff with keys...

@mrdoob mrdoob modified the milestones: r175, r176 Mar 28, 2025
@mrdoob mrdoob modified the milestones: r176, r177 Apr 24, 2025
@mrdoob mrdoob modified the milestones: r177, r178 May 30, 2025
@mrdoob mrdoob modified the milestones: r178, r179 Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.