update: samples now work with new version#23
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
HarshaNalluru
approved these changes
Feb 18, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the repo’s Moss SDK samples and dependency pins so the Python/TypeScript/Next.js examples align with newer Moss SDK releases and updated response shapes (job-based responses).
Changes:
- Bump Moss SDK dependency versions across Python and JavaScript/TypeScript samples.
- Update sample code to new SDK APIs/types (e.g.,
MutationOptions, job-oriented return values,createIndexoptions object). - Refresh supporting configs (Python >=3.10 for the LiveKit agent, broader
.env.*ignores, notebook install commands).
Reviewed changes
Copilot reviewed 13 out of 16 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| python/requirements.txt | Pins inferedge-moss to >=1.0.0b15. |
| python/custom_embedding_sample.py | Migrates from AddDocumentsOptions to MutationOptions and prints job-style results. |
| python/comprehensive_sample.py | Updates logging to reflect job-style results and switches add options to MutationOptions. |
| pipecat-moss/pipecat-quickstart/create-index.py | Updates create_index call to new keyword argument name (name=). |
| next-js/package.json | Bumps @inferedge/moss to ^1.0.0-beta.7. |
| next-js/package-lock.json | Lockfile updates for the @inferedge/moss bump (and associated metadata changes). |
| livekit-moss-vercel/livekit-voice-agent/livekit-moss-agent/pyproject.toml | Raises Python floor to 3.10 and pins inferedge-moss>=1.0.0b15; updates tooling targets. |
| livekit-moss-vercel/livekit-voice-agent/livekit-moss-agent/create_index.py | Updates output to job-style result fields. |
| javascript/package.json | Bumps @inferedge/moss to ^1.0.0-beta.7. |
| javascript/package-lock.json | Lockfile updates for the @inferedge/moss bump (and associated metadata changes). |
| javascript/custom_embedding_sample.ts | Updates logging to job-style result fields. |
| javascript/comprehensive_sample.ts | Updates imports and API usage for new SDK signatures/return values; refreshes header requirements. |
| cookbook/langchain/pyproject.toml | Pins inferedge-moss>=1.0.0b15. |
| cookbook/langchain/moss_langchain.ipynb | Updates install cell to require inferedge-moss>=1.0.0b15. |
| cookbook/dspy/dspy.ipynb | Updates install cell and removes captured install output. |
| .gitignore | Ignores .env.* and Claude-related artifacts. |
Files not reviewed (2)
- javascript/package-lock.json: Language not supported
- next-js/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
bd27bc2 to
369da33
Compare
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.
Pull Request Checklist
Please ensure that your PR meets the following requirements:
Type of Change