Skip to content

feat(togetherAI): warn for chat model name is missing #8263

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

YasharF
Copy link

@YasharF YasharF commented May 28, 2025

When a Node.js developer fails to properly pass a model name to ChatTogetherAI(), it silently defaults to mistralai/Mixtral-8x7B-Instruct-v0. without any error or warning. With this PR, the developer will see a warning in the console. This PR also changed the default (fallback) to meta-llama/Llama-3.3-70B-Instruct-Turbo-Free which togetherAI is graciously hosting for free with more restricted rate limits.

Fixes #8094

x: YasharF3
linkedin.com/in/yasharf

Copy link

vercel bot commented May 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchainjs-docs ✅ Ready (Inspect) Visit Preview May 28, 2025 3:20am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ⬜️ Ignored (Inspect) May 28, 2025 3:20am

@YasharF YasharF marked this pull request as ready for review May 28, 2025 02:58
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. auto:documentation Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder labels May 28, 2025
@YasharF YasharF force-pushed the togetherai_warn branch from e42b804 to c1a93da Compare May 28, 2025 03:02
@YasharF YasharF changed the title feat(togetherAI): warn for missing chat model name feat(togetherAI): warn for chat model name is missing Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:documentation Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing Model Name in Together.AI Integration Defaults Without Warning
1 participant