-
Notifications
You must be signed in to change notification settings - Fork 1
Add batch invocation API documentation #96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Mesa DescriptionAdded comprehensive documentation for the new batch invocation API that allows developers to execute multiple function invocations in a single request. The documentation covers creating batch jobs, monitoring progress, and managing concurrent executions with proper error handling. Files changed:
Created by Mintlify agent Description generated by Mesa. Update settings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Performed full review of ab446d9...bfdca30
Analysis
-
API Naming Inconsistency: The batch API uses inconsistent naming patterns (
kernel.invocations.batch.create()vskernel.batchJobs.list()), potentially causing developer confusion and indicating underlying SDK design issues. -
Incomplete Error Handling Documentation: While batch jobs continue despite individual invocation failures, the documentation lacks examples for accessing specific error details from failed invocations.
-
Resource Management Gaps: Streaming examples don't demonstrate proper connection cleanup or error handling for SSE streams, which could lead to resource leaks.
-
Missing Edge Cases: Documentation doesn't address important scenarios like max_concurrency exceeding organization limits or how billing/rate limiting works with batch jobs.
Tip
Help
Slash Commands:
/review- Request a full code review/review latest- Review only changes since the last review/describe- Generate PR description. This will update the PR body or issue comment depending on your configuration/help- Get help with Mesa commands and configuration options
2 files reviewed | 0 comments | Edit Agent Settings
Added comprehensive documentation for the new batch invocation API that allows developers to execute multiple function invocations in a single request. The documentation covers creating batch jobs, monitoring progress, and managing concurrent executions with proper error handling.
Files changed:
apps/batching.mdx(new) - Complete batch API documentation with examplesdocs.json- Added batching page to App Platform navigationCreated by Mintlify agent