-
Notifications
You must be signed in to change notification settings - Fork 406
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
initial nebula docs #5720
initial nebula docs #5720
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5720 +/- ##
=======================================
Coverage 53.01% 53.01%
=======================================
Files 1101 1101
Lines 59079 59079
Branches 4806 4806
=======================================
Hits 31318 31318
Misses 27043 27043
Partials 718 718
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
const eventSource = new EventSource('/chat', { | ||
headers: { | ||
'x-secret-key': 'YOUR_THIRDWEB_SECRET_KEY' | ||
} | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The EventSource
API does not support custom headers in its constructor. To authenticate requests, either:
- Pass the secret key as a URL parameter:
const eventSource = new EventSource('/chat?secret=YOUR_THIRDWEB_SECRET_KEY');
- Use the Fetch API with
ReadableStream
for streaming support:
const response = await fetch('/chat', {
headers: {
'x-secret-key': 'YOUR_THIRDWEB_SECRET_KEY'
}
});
const reader = response.body.getReader();
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall LGTM - left a question for @MananTank
Problem solved
Short description of the bug fixed or feature added NEB-16
PR-Codex overview
This PR introduces the
Nebula
feature, enhancing the application with a new AI interface for blockchain interactions. It includes sidebar links, new icons, and documentation updates to support functionalities like gas fee payments and API interactions.Detailed summary
Nebula
link inHeader.tsx
.ERC-20 Paymaster
link insidebar.tsx
.nebula/sidebar.tsx
.Nebula
layout innebula/layout.tsx
.layout.tsx
with a new banner forNebula
.NebulaIcon
inicons/index.ts
.NebulaSection
inpage.tsx
.NebulaIcon
component innebula/NebulaIcon.tsx
.nebula/page.mdx
explaining its features.Nebula API Reference
inapi-reference/page.mdx
.ERC-20 Paymaster
documentation inerc-20-paymaster/page.mdx
.