Repository navigation
docs(agents): add the Extensions page and the Sign in with ChatGPT guide - #348
Merged
Merged
Conversation
Extensions covers what an extension holds, hooks, wrapTool, choosing extensions per conversation, and how the registry behaves across deploys. The Sign in with ChatGPT guide is the first Agents guide. It lives in content/guides/ and the sidebar's "guides" key, so the website merges it into the site-wide Guides tab at /guides/sign-in-with-chatgpt. User Subscriptions links to it. Amp-Thread-ID: https://ampcode.com/threads/T-d43d6059-e31e-4220-91d1-5e00ec65c552 Co-authored-by: Amp <amp@ampcode.com>
|
🚅 Environment agents-pr-348 in rivet-frontend has no services deployed. |
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.
Extensions (
/agents/docs/extensions, under Concepts → Agent) covers:read-onlyexample and a table of every hookwrapTool, with anauditexample that logsbashcommandssettings.extensionsandconversation.configureby nameSign in with ChatGPT is the first Agents guide. It lives in
docs/content/guides/and the sidebar's newguideskey, so the website merges it into the site-wide Guides tab at/guides/sign-in-with-chatgpt. AchatgptLoginActor drives pi-ai'smodels.login("openai", "oauth")and saves the login to the per-usercredentialsActor from User Subscriptions, which now links to the guide.Notes:
http://127.0.0.1:1455callback, so on a remote worker the user pastes the redirect URL back. It is limited to open-source and self-hosted apps, which the guide says.promptrejects on abort; otherwise a cancelled sign-in keeps the port bound until the process restarts.startreturns a real OpenAI sign-in URL through the Actor, and a bad pasted URL fails cleanly. Not tested: a full sign-in with a real ChatGPT account.ExampleLinkBarcomponent, like the dynamic-apps docs do, althoughdocs/CLAUDE.mddiscourages website imports.Merge order: merge rivet-dev/website#131 first, then rivet-dev/rivet#5853. With the old website code, this repo's
content/guides/folder would be unrouted.