Conversation
Contributor
|
Nice! Time to InstructPipe / Idea2Reality to three.js :) https://duruofei.com/papers/Zhou_InstructPipe-BuildingVisualProgrammingPipelinesInVisualBlocksWithHumanInstructionsUsingLLMs_CHI2025.pdf |
…rt, function or class Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
jlucaso1
reviewed
Mar 26, 2025
|
|
||
| // Initialize Google AI | ||
| const ai = new GoogleGenAI( { apiKey: 'GENAI_API_KEY' } ); | ||
| const ai = new GoogleGenAI( { apiKey: 'AIzaSyAHEPxUn9Ow4Lk8oXM4jl3u_stzOIxkkGM' } ); |
There was a problem hiding this comment.
@mrdoob any problem on exposing this key?
Owner
Author
There was a problem hiding this comment.
I was exposing it intentionally, but seems like githack doesn't like serving stuff with keys...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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