docs: Add dependencies example to load-balanced endpoint pattern#575
Merged
muhsinking merged 2 commits intomainfrom Mar 23, 2026
Merged
docs: Add dependencies example to load-balanced endpoint pattern#575muhsinking merged 2 commits intomainfrom
muhsinking merged 2 commits intomainfrom
Conversation
| gpu=GpuType.NVIDIA_GEFORCE_RTX_4090, | ||
| workers=(1, 5) | ||
| workers=(1, 5), | ||
| dependencies=["torch"] |
Contributor
Author
There was a problem hiding this comment.
Citation: PR #252 fixes flash build to extract dependencies from Endpoint() variable assignment patterns (load-balanced endpoints). Adding this example confirms the pattern is fully supported after the fix.
View source
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
muhsinking
approved these changes
Mar 23, 2026
Contributor
Author
|
Just a reminder: If you'd like me to act on any feedback you have via Github comments, just type @Promptless in your suggestion and I'll get right on it! (I won't show up in the user dropdown, but I'll process any request that has @Promptless in the comment body.) |
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.
Open this suggestion in Promptless to view citations and reasoning process
Updates the load-balanced endpoint example in the "Create endpoints" docs to include the
dependenciesparameter. This confirms that dependencies work with the variable assignment pattern (api = Endpoint(...)) used for load-balanced endpoints, not just decorator patterns.Trigger Events
runpod/flash PR #252: fix: extract dependencies from Endpoint() patterns during build
Promptless Research (7 files, 1 GitHub PR)
.long_term_context/product_knowledge/product_overview.md.long_term_context/doc_workflow/client_instructions.mdflash/cli/build.mdxflash/configuration/parameters.mdxflash/create-endpoints.mdxflash/apps/build-app.mdx.long_term_context/style/client_style_guide.mdAgent Response
Tip: Planning a big docs refactor? Use Deep Analysis to get help with the heavy lifting 🔍