feat: update nextjs example - #203
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
jonatanvm
force-pushed
the
feat/update-nextjs-example
branch
from
September 30, 2025 09:12
e55a22e to
ec028df
Compare
jonatanvm
force-pushed
the
feat/update-nextjs-example
branch
from
September 30, 2025 09:13
ec028df to
c96a6af
Compare
- Update to new orb component - Improve button interactivity - Update dependencies
PaulAsjes
requested changes
Sep 30, 2025
PaulAsjes
left a comment
Collaborator
There was a problem hiding this comment.
Can we use the Orb component from here instead? https://ui.elevenlabs.io/docs/components/orb
jonatanvm
force-pushed
the
feat/update-nextjs-example
branch
from
September 30, 2025 09:16
c96a6af to
5dd0157
Compare
Collaborator
Author
That is the one I'm using! |
PaulAsjes
requested changes
Sep 30, 2025
PaulAsjes
left a comment
Collaborator
There was a problem hiding this comment.
My bad on the orb, I forgot that it's shadcn instead of an imported package.
| if (!agentId) { | ||
| throw Error("AGENT_ID is not set"); | ||
| } | ||
| const apiKey = process.env.XI_API_KEY; |
Collaborator
There was a problem hiding this comment.
We default to process.env. ELEVENLABS_API_KEY in other examples. That also gets automatically picked up by the TS client so you don't have to explicitly set an API key. Can we default to that naming?
PaulAsjes
approved these changes
Sep 30, 2025
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.
Uh oh!
There was an error while loading. Please reload this page.