Skip to content

fix: replace deprecated watsonx model ibm/granite-3-3-8b-instruct - #117

Merged
jsntsay merged 2 commits into
AgentToolkit:mainfrom
OsherElhadad:fix/watsonx-deprecated-granite-model
Aug 10, 2026
Merged

fix: replace deprecated watsonx model ibm/granite-3-3-8b-instruct#117
jsntsay merged 2 commits into
AgentToolkit:mainfrom
OsherElhadad:fix/watsonx-deprecated-granite-model

Conversation

@OsherElhadad

Copy link
Copy Markdown
Contributor

Problem

CI test job fails with 5 failures + 4 setup errors, all one root cause:

RuntimeError: Failed to initialize ModelInference: Model 'ibm/granite-3-3-8b-instruct'
is not supported for this environment. Supported models: ['ibm/granite-4-h-small',
'ibm/granite-8b-code-instruct', 'ibm/granite-guardian-3-8b',
'meta-llama/llama-3-3-70b-instruct', ...]

watsonx.ai removed ibm/granite-3-3-8b-instruct. Every test that builds a
WatsonxLLMClient with it dies at client init. Unrelated to any recent code change.

Fix

Swap the model id to meta-llama/llama-3-3-70b-instruct — it is in the supported
list and is already the model the rest of the test suite uses (sparc, post_tool,
pre_response). Same swap applied to the examples and docs that carried the dead id.

Affected tests:

  • test_topic_extractor_chroma.py (5 failures)
  • test_follow_up.py / test_wx_orchestrate.py (4 setup errors via conftest.py fixture)

watsonx.ai removed ibm/granite-3-3-8b-instruct, so every test that built a
WatsonxLLMClient with it failed at ModelInference init (5 failures, 4 setup
errors in CI). Switch tests, examples and docs to
meta-llama/llama-3-3-70b-instruct, which is in the supported list and already
used by the rest of the test suite.

Signed-off-by: Osher-Elhadad <Osher.Elhadad@ibm.com>
@OsherElhadad
OsherElhadad force-pushed the fix/watsonx-deprecated-granite-model branch from 22ea950 to cc594ab Compare August 9, 2026 13:48
mistralai/mistral-medium-2505 is no longer entitled on watsonx.ai, so the
build_time tests failed at client init (3 failures + 1 collection error).
Switch to mistralai/mistral-small-3-1-24b-instruct-2503, which is in the
supported model list. Applied to tests, examples and docs.

Full suite now passes locally against live watsonx: 359 passed, 8 skipped.

Signed-off-by: Osher-Elhadad <Osher.Elhadad@ibm.com>
@jsntsay
jsntsay merged commit ae6201b into AgentToolkit:main Aug 10, 2026
9 checks passed
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.

2 participants