Skip to content

Conversation

@AmineAfia
Copy link
Contributor

@AmineAfia AmineAfia commented Jan 5, 2025


title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

How to test

Unit tests, playground, etc.


PR-Codex overview

This PR enhances the documentation and functionality of the Insight API, specifically for agents and LLMs, by adding new links, improving API usage instructions, and updating code examples for better clarity and usability.

Detailed summary

  • Added a new link to llms.txt in sidebar.tsx.
  • Updated introductory text in page.mdx for clarity on using Insight with AI agents.
  • Improved code examples for API usage with placeholders for dynamic values.
  • Simplified ChainId type definition to number.
  • Enhanced error handling and response structure documentation.
  • Provided detailed usage instructions and best practices for API calls.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@vercel
Copy link

vercel bot commented Jan 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 6, 2025 11:40pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
thirdweb_playground ⬜️ Skipped (Inspect) Jan 6, 2025 11:40pm
thirdweb-www ⬜️ Skipped (Inspect) Jan 6, 2025 11:40pm
wallet-ui ⬜️ Skipped (Inspect) Jan 6, 2025 11:40pm

@vercel vercel bot temporarily deployed to Preview – thirdweb_playground January 5, 2025 18:53 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www January 5, 2025 18:53 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui January 5, 2025 18:53 Inactive
@changeset-bot
Copy link

changeset-bot bot commented Jan 5, 2025

⚠️ No Changeset found

Latest commit: 66f1337

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@AmineAfia AmineAfia marked this pull request as ready for review January 5, 2025 18:53
@github-actions github-actions bot added the Portal Involves changes to the Portal (docs) codebase. label Jan 5, 2025
@AmineAfia AmineAfia requested review from a team and jakubkrehel as code owners January 5, 2025 18:53
Copy link
Contributor Author

AmineAfia commented Jan 5, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@codecov
Copy link

codecov bot commented Jan 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.37%. Comparing base (fa7fe1e) to head (66f1337).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5887   +/-   ##
=======================================
  Coverage   55.37%   55.37%           
=======================================
  Files        1123     1123           
  Lines       59642    59642           
  Branches     5056     5056           
=======================================
  Hits        33024    33024           
  Misses      25894    25894           
  Partials      724      724           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from fa7fe1e
packages 53.06% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 45 KB (0%) 900 ms (0%) 4.1 s (-9.31% 🔽) 5 s
thirdweb (cjs) 110.81 KB (0%) 2.3 s (0%) 6.1 s (-10.1% 🔽) 8.3 s
thirdweb (minimal + tree-shaking) 5.58 KB (0%) 112 ms (0%) 628 ms (+43.81% 🔺) 739 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 186 ms (+39.31% 🔺) 196 ms
thirdweb/react (minimal + tree-shaking) 19.09 KB (0%) 382 ms (0%) 938 ms (+2.36% 🔺) 1.4 s

@AmineAfia AmineAfia force-pushed the 01-05-add_llms.txt_file_to_insight_docs branch from 774871f to 5c7f364 Compare January 5, 2025 19:18
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground January 5, 2025 19:18 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui January 5, 2025 19:18 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www January 5, 2025 19:18 Inactive
@AmineAfia AmineAfia force-pushed the 01-05-add_llms.txt_file_to_insight_docs branch from 5c7f364 to 9de8eda Compare January 5, 2025 19:20
@vercel vercel bot temporarily deployed to Preview – wallet-ui January 5, 2025 19:20 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground January 5, 2025 19:20 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www January 5, 2025 19:20 Inactive
@AmineAfia AmineAfia force-pushed the 01-05-add_llms.txt_file_to_insight_docs branch from 9de8eda to 024eb28 Compare January 5, 2025 20:13
@vercel vercel bot temporarily deployed to Preview – wallet-ui January 5, 2025 20:13 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www January 5, 2025 20:13 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground January 6, 2025 00:03 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www January 6, 2025 00:05 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground January 6, 2025 00:05 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui January 6, 2025 00:05 Inactive
AmineAfia pushed a commit that referenced this pull request Jan 6, 2025
---
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
---

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.

## How to test
Unit tests, playground, etc.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `insight` application by adding a new `llms.txt` file link in the sidebar and updating the content in the `agents-and-llms` documentation to provide clearer instructions for using the API with AI agents and LLMs.

### Detailed summary
- Added a new link for `llms.txt` in the sidebar of `sidebar.tsx`.
- Updated the introduction in `page.mdx` to clarify the use of the `llms.txt` file.
- Included a link to the `llms.txt` file in the documentation.
- Expanded API usage instructions and details in `llmstxt/page.mdx`.
- Added sections on rate limiting, pagination, error handling, and authentication methods.
- Provided code examples for API calls and error handling best practices.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
@AmineAfia AmineAfia force-pushed the 01-05-add_llms.txt_file_to_insight_docs branch from 4f5eeb6 to c07ff58 Compare January 6, 2025 23:21
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground January 6, 2025 23:21 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui January 6, 2025 23:21 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www January 6, 2025 23:21 Inactive
@AmineAfia AmineAfia requested a review from jakeloo January 6, 2025 23:22
@vercel vercel bot temporarily deployed to Preview – thirdweb-www January 6, 2025 23:29 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground January 6, 2025 23:29 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui January 6, 2025 23:29 Inactive
---
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
---

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.

## How to test
Unit tests, playground, etc.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the documentation and functionality related to `Agents & LLMs` within the `thirdweb Insight` API, including new links, improved examples, and standardized usage instructions for better integration with AI tools.

### Detailed summary
- Added a new link for `llms.txt` in `sidebar.tsx`.
- Updated documentation in `page.mdx` to clarify API usage for `Agents & LLMs`.
- Revised code examples to use template literals for dynamic values.
- Simplified `ChainId` type to a number.
- Enhanced error handling and response structure in API examples.
- Included detailed instructions on authentication and API endpoints.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
@AmineAfia AmineAfia force-pushed the 01-05-add_llms.txt_file_to_insight_docs branch from 5767934 to 66f1337 Compare January 6, 2025 23:38
@vercel vercel bot temporarily deployed to Preview – thirdweb-www January 6, 2025 23:39 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground January 6, 2025 23:39 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui January 6, 2025 23:39 Inactive
@graphite-app graphite-app bot merged commit 66f1337 into main Jan 6, 2025
31 checks passed
@graphite-app graphite-app bot deleted the 01-05-add_llms.txt_file_to_insight_docs branch January 6, 2025 23:42
@vercel vercel bot temporarily deployed to Production – wallet-ui January 6, 2025 23:42 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground January 6, 2025 23:42 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb-www January 6, 2025 23:42 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Portal Involves changes to the Portal (docs) codebase.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants