Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat(langchain-ibm): Added another case for error to be more descriptive#161

Open
Arad Halevy (aradhalevy) wants to merge 4 commits into
langchain-ai:mainfrom
aradhalevy:fix_error_msg
Open

feat(langchain-ibm): Added another case for error to be more descriptive#161
Arad Halevy (aradhalevy) wants to merge 4 commits into
langchain-ai:mainfrom
aradhalevy:fix_error_msg

Conversation

@aradhalevy

Copy link
Copy Markdown

πŸ“ Description

Related Issue: #160

πŸ’‘ Summary of Changes

Split the error of ""The parameters 'model', 'model_id' and 'deployment_id' are "
"mutually exclusive. Please specify exactly one of these "
"parameters when initializing ChatWatsonx."

To 2 cases to be more descriptive, one when there is no parameter passed and a second when there is more than one passed.

βœ… PR Checklist

  • PR Title Format: {TYPE}({SCOPE}): {DESCRIPTION}

    • Examples:
      • feat(langchain-ibm): add multi-tenant support
      • fix(langchain-db2): resolve flag parsing error
      • docs(langchain-ibm): update API usage examples
    • Allowed {TYPE} values:
      feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert, release
    • Allowed {SCOPE} values (optional):
      langchain-ibm, langchain-db2
  • PR Description: The Description section clearly lists what was changed, why, and how it was tested.

  • Formatting, Linting & Tests
    Run the following commands from the root of the modified package(s):

    make format
    make lint
    make test

    ⚠️ PRs will only be considered if all checks pass in CI.
    See the contribution guidelines for more details.


πŸ§ͺ Testing (optional)


πŸ—’οΈ Notes (optional)

Thank you again for helping improve LangChain-IBM! πŸš€
Your contribution makes the project better for everyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant