-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Fix: DTS Error mismatch LanguageModelV1interface/Version in ai-sdk mistral model #2782
Fix: DTS Error mismatch LanguageModelV1interface/Version in ai-sdk mistral model #2782
Conversation
…for extract-version command in client package.json
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
after merging with develop branch it seems this issue is already been solved but take note this issue exist on the main eliza repo so we need to fix this in eliza main repo right away, to prevent people getting blocked during build process |
…x for extract-version command in client package.json
Relates to
DTS-error-mismatch-LanguageModelV1-in-ai-sdk-mistral-model
Risks
Low
Background
What does this PR do?
Fix the issue for DTS error mismatch LanguageModelV1interface in ai sdk mistral model and small fix with client package.json extract-version command
What kind of change is this?
Bug fixes (non-breaking change which fixes an issue)
The Eliza Main repo build process is failing , to fix that issue we need to to do fix
Documentation changes needed?
this is a very small fix for a documentation this is all about a package version not aligned properly
yes no change in documentation needed
Testing
run the commands
pnpm clean
pnpm install -r
pnpm build
pnpm start --characters="characters/trump.character.json"
Where should a reviewer start?
after running the agent successfully run the pnpm start:client to test the agent if its working normally
check the files for the changes
pnpm-lock.yaml client
packages
"@ai-sdk/[email protected]"
snapshots
"@ai-sdk/[email protected]"
dependencies
"@ai-sdk/provider": 1.0.6
core package.json
"@ai-sdk/mistral": "1.0.6",
client package.json
add bash to
"extract-version": "bash ./version.sh",
Detailed testing steps
run the commands
![agent-run-successfully](https://private-user-images.githubusercontent.com/47289872/406662775-b63206b6-e231-4657-8ff3-b774d93009b7.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDI0MzIsIm5iZiI6MTczOTQwMjEzMiwicGF0aCI6Ii80NzI4OTg3Mi80MDY2NjI3NzUtYjYzMjA2YjYtZTIzMS00NjU3LThmZjMtYjc3NGQ5MzAwOWI3LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDIzMTUzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ0MjgyZWQzMTg1YWM4ZWM3YWM5ZDFkNWNmZGFhY2JiMWJlMGVhMmUwYmY2MzUxZTQ3M2ZkOWMxOWExMjkxYjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.VevKB5C2KHZ6xscHl50TH2An2aqJM5dfzoZAi4sKyiA)
![build-successfully](https://private-user-images.githubusercontent.com/47289872/406662777-ed6552e6-9c99-4f15-b5d9-8ba78a10b4d6.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDI0MzIsIm5iZiI6MTczOTQwMjEzMiwicGF0aCI6Ii80NzI4OTg3Mi80MDY2NjI3NzctZWQ2NTUyZTYtOWM5OS00ZjE1LWI1ZDktOGJhNzhhMTBiNGQ2LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDIzMTUzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ5OTczMjAwNjdhMGIwMGQyMDE0YmU0MmUxNmJmNjgyMDEzNmYxYTE5NWRlMThjZjk3YWJkNTBlMDFiMGVlM2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.88EpgZ6sdxdCtulMb3yM4KOCjAuBVrmVqweMV10w9HI)
pnpm clean
pnpm install -r
pnpm build
pnpm start --characters="characters/trump.character.json"
pnpm start:client
chat with agent