Repository navigation
docs(ai-gateway): tighten authentication wording - #331
Merged
Merged
Conversation
Split the service role bullet into short sentences, simplify the token field description so it no longer contradicts the user authentication bullet, and add the paragraph on what the mode does and doesn't change. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/sdk@0.8.53-pr.331.bf2d5aaPrefer not to change any import paths? Install using npm alias so your code still imports npm i "@base44/sdk@npm:@base44-preview/sdk@0.8.53-pr.331.bf2d5aa"Or add it to your {
"dependencies": {
"@base44/sdk": "npm:@base44-preview/sdk@0.8.53-pr.331.bf2d5aa"
}
}
Preview published to npm registry — try new features instantly! |
sam-prais
approved these changes
Oct 14, 2026
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.
Summary
Follow-up to #330. JSDoc wording changes in
packages/sdk/src/modules/ai-gateway.types.ts, matching edits made on base44-dev/mintlify-docs#2569.403(calls from the browser or with a user's token).tokenfield: replaced the two-token description and the "gateway expects the service-role token" sentence, which contradicted the user authentication bullet, with one sentence saying the calling mode determines whose token it is.Verified by running
npm run create-docsand diffing the generatedai-gateway.mdxagainst the mintlify page for these sections. One cosmetic difference: the generator renders inline code in thetokenfield with double backticks.🤖 Generated with Claude Code