Skip to content

Conversation

@joaquim-verges
Copy link
Member

@joaquim-verges joaquim-verges commented Sep 5, 2025


PR-Codex overview

This PR focuses on updating the terminology and content related to the OpenAI SDK in the sidebar.tsx and page.mdx files, enhancing the documentation and examples for using the OpenAI SDK with thirdweb's AI model.

Detailed summary

  • Added a new entry for OpenAI SDK in the sidebar.
  • Updated TabsTrigger from OpenAI Client to OpenAI SDK.
  • Changed section header and references from OpenAI Client to OpenAI SDK.
  • Updated example code to use model="t0-latest" and improved message format.
  • Added a new openai-sdk page with setup instructions, usage examples, and context parameters.
  • Included details on handling streaming responses and event types.

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

@vercel vercel bot temporarily deployed to Preview – nebula September 5, 2025 23:55 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www September 5, 2025 23:55 Inactive
@vercel
Copy link

vercel bot commented Sep 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs-v2 Ready Ready Preview Comment Sep 6, 2025 0:48am
4 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
nebula Skipped Skipped Sep 6, 2025 0:48am
thirdweb_playground Skipped Skipped Sep 6, 2025 0:48am
thirdweb-www Skipped Skipped Sep 6, 2025 0:48am
wallet-ui Skipped Skipped Sep 6, 2025 0:48am

@changeset-bot
Copy link

changeset-bot bot commented Sep 5, 2025

⚠️ No Changeset found

Latest commit: eb7c148

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

@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 5, 2025 23:55 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 5, 2025 23:55 Inactive
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 5, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch _AI_Add_OpenAI_SDK_documentation_page

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added the Portal Involves changes to the Portal (docs) codebase. label Sep 5, 2025
Copy link
Member Author

joaquim-verges commented Sep 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.

@joaquim-verges joaquim-verges changed the title [AI] Add OpenAI SDK documentation page [Docs] Add OpenAI SDK documentation page Sep 5, 2025
@joaquim-verges joaquim-verges marked this pull request as ready for review September 5, 2025 23:57
@joaquim-verges joaquim-verges requested review from a team as code owners September 5, 2025 23:57
@codecov
Copy link

codecov bot commented Sep 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.63%. Comparing base (6a7d126) to head (94be03b).

Additional details and impacted files
@@                                        Coverage Diff                                        @@
##           _Wallets_Add_documentation_for_create7702MinimalAccount_function    #7997   +/-   ##
=================================================================================================
  Coverage                                                             56.63%   56.63%           
=================================================================================================
  Files                                                                   904      904           
  Lines                                                                 58677    58677           
  Branches                                                               4163     4163           
=================================================================================================
  Hits                                                                  33231    33231           
  Misses                                                                25340    25340           
  Partials                                                                106      106           
Flag Coverage Δ
packages 56.63% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 64.01 KB (0%) 1.3 s (0%) 456 ms (+130.33% 🔺) 1.8 s
thirdweb (cjs) 357.32 KB (0%) 7.2 s (0%) 1.6 s (+4.03% 🔺) 8.8 s
thirdweb (minimal + tree-shaking) 5.73 KB (0%) 115 ms (0%) 108 ms (+875.35% 🔺) 223 ms
thirdweb/chains (tree-shaking) 526 B (0%) 11 ms (0%) 78 ms (+1071.93% 🔺) 89 ms
thirdweb/react (minimal + tree-shaking) 19.15 KB (0%) 383 ms (0%) 103 ms (+304.86% 🔺) 486 ms

@joaquim-verges joaquim-verges force-pushed the _Wallets_Add_documentation_for_create7702MinimalAccount_function branch from 6a7d126 to b68d1c0 Compare September 6, 2025 00:06
@joaquim-verges joaquim-verges force-pushed the _AI_Add_OpenAI_SDK_documentation_page branch from 94be03b to eb7c148 Compare September 6, 2025 00:06
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 6, 2025 00:06 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula September 6, 2025 00:06 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www September 6, 2025 00:06 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 6, 2025 00:06 Inactive
Base automatically changed from _Wallets_Add_documentation_for_create7702MinimalAccount_function to main September 6, 2025 00:11
@joaquim-verges joaquim-verges merged commit d06a15e into main Sep 6, 2025
17 of 19 checks passed
@joaquim-verges joaquim-verges deleted the _AI_Add_OpenAI_SDK_documentation_page branch September 6, 2025 00:12
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.

2 participants