Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the project’s default Ollama model to gemma4:e2b across devcontainer setup, environment samples, docs, and runtime agent code, and bumps LangChain-related dependencies to newer patch versions.
Changes:
- Switched the default Ollama model from
qwen3.5:9btogemma4:e2bin env samples, devcontainer config, docs, and agent implementations. - Upgraded LangChain-family dependencies (
langchain,langchain-core,langchain-openai,langchain-mcp-adapters) and refresheduv.lock. - Enhanced the Ollama devcontainer
postCreateCommandto installprekhooks during container creation.
Show a summary per file
| File | Description |
|---|---|
uv.lock |
Locks updated LangChain/LangGraph patch versions and dependency specifiers. |
pyproject.toml |
Raises minimum versions for LangChain-related dependencies. |
.devcontainer/ollama/devcontainer.json |
Pulls gemma4:e2b by default and runs uv run prek install on create. |
.env-sample |
Updates default OLLAMA_MODEL to gemma4:e2b. |
.env.sample.ollama |
Updates default OLLAMA_MODEL to gemma4:e2b for Ollama setup. |
README.md |
Codespaces instructions updated to reference gemma4:e2b. |
spanish/README.md |
Spanish Codespaces instructions updated to reference gemma4:e2b. |
agents/langchainv1_http.py |
Updates Ollama default model used by ChatOpenAI. |
agents/langchainv1_github.py |
Updates Ollama default model and switches agent creation to system_prompt. |
agents/agentframework_http.py |
Updates Ollama default model used by OpenAIResponsesClient. |
agents/agentframework_learn.py |
Updates Ollama default model and refreshes the example query text. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 10/11 changed files
- Comments generated: 0
pamelafox
approved these changes
Apr 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ollama model update:
Changed the default Ollama model from
qwen3.5:9btogemma4:e2bin.devcontainer/ollama/devcontainer.json,.env-sample,.env.sample.ollama,agents/agentframework_http.py,agents/agentframework_learn.py,agents/langchainv1_github.py, andagents/langchainv1_http.pyto ensure consistency across development, environment configuration, and runtime code. [1] [2] [3] [4] [5] [6] [7]Updated documentation in both English and Spanish
README.mdfiles to reflect the new default model (gemma4:e2b) for Codespaces setup instructions. [1] [2]Dependency updates:
langchain-core,langchain,langchain-openai, andlangchain-mcp-adaptersto newer versions inpyproject.tomlfor improved compatibility and features.Development environment improvements:
postCreateCommandin.devcontainer/ollama/devcontainer.jsonto includeuv run prek install, ensuring necessary pre-commit hooks or dependencies are installed on container creation.Prompt improvements:
agents/agentframework_learn.pyto a more relevant Azure web app hosting comparison.agents/langchainv1_github.pyto use thesystem_promptparameter instead ofpromptfor clarity and correctness.