fix(examples): migrate basics_colab and agents_colab notebooks from granite3.3 to granite4.1:8b#1539
fix(examples): migrate basics_colab and agents_colab notebooks from granite3.3 to granite4.1:8b#1539BiswasNehaa wants to merge 6 commits into
Conversation
Signed-off-by: BiswasNehaa <neha12345biswas@gmail.com>
Signed-off-by: BiswasNehaa <neha12345biswas@gmail.com>
Signed-off-by: BiswasNehaa <neha12345biswas@gmail.com>
…ranite3.3 to granite4.1:8b
…sNehaa/beeai-framework into fix/migrate-granite-3-to-4
There was a problem hiding this comment.
Code Review
This pull request updates the default Ollama model version from granite3.3:8b to granite4.1:8b across various documentation files, examples, and Jupyter notebooks. Feedback is provided regarding an inconsistency in basics.ipynb where the model name is specified as ollama:granite4.1 instead of ollama:granite4.1:8b, which could lead to runtime errors if the exact tag is not found.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| "# Create a ChatModel to interface with granite3.3:8b on a local ollama\n", | ||
| "model = ChatModel.from_name(\"ollama:granite3.3\")\n", | ||
| "# Create a ChatModel to interface with granite4.1:8b on a local ollama\n", | ||
| "model = ChatModel.from_name(\"ollama:granite4.1\")\n", |
There was a problem hiding this comment.
The model name is specified as ollama:granite4.1 here, but the pulled model is granite4.1:8b (as shown in the comment above and other notebooks). Using ollama:granite4.1 will cause a runtime error in Ollama if the model is not found under that exact tag. It should be updated to ollama:granite4.1:8b for consistency and correctness.
| "model = ChatModel.from_name(\"ollama:granite4.1\")\n", | |
| "model = ChatModel.from_name(\"ollama:granite4.1:8b\")\n", |
|
Closing this in favor of a cleaner PR — this branch picked up some unrelated commits |
Closes #1481
Migrates the remaining notebook examples referencing
granite3.3togranite4.1:8b:python/examples/notebooks/basics_colab.ipynbpython/examples/notebooks/agents_colab.ipynbbasics.ipynb,workflows.ipynb, andworkflows_colab.ipynbwere already migrated in earlier PRs (#1521, #1534), so this should cover the remaining notebooks listed in the issue.