Skip to content

FROM ryaneggz/13-use-custom-model-with-ollama TO hwchase17/deepagents@main - #24

Merged
Harrison Chase (hwchase17) merged 9 commits into
langchain-ai:harrison/ollama-examplefrom
ryaneggz:ryaneggz/13-use-custom-model-with-ollama
Aug 5, 2025
Merged

FROM ryaneggz/13-use-custom-model-with-ollama TO hwchase17/deepagents@main#24
Harrison Chase (hwchase17) merged 9 commits into
langchain-ai:harrison/ollama-examplefrom
ryaneggz:ryaneggz/13-use-custom-model-with-ollama

Conversation

@ryaneggz

@ryaneggz Ryan Eggleston (ryaneggz) commented Aug 4, 2025

Copy link
Copy Markdown
Contributor

Summary:

Closes #13 | Updates the README with steps for altering the research_agent.py to use on_init_model with ollama.

@ryaneggz Ryan Eggleston (ryaneggz) changed the title FROM ryaneggz/13-use-custom-model-with-ollama TO hwchase17/deepagents@main Draft: FROM ryaneggz/13-use-custom-model-with-ollama TO hwchase17/deepagents@main Aug 4, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dont think we should modify examples folder. also probably not worth its own section in readme. if anything, we have (at line 127) a section about how to pass the model in, should just go there

@ryaneggz

Copy link
Copy Markdown
Contributor Author

dont think we should modify examples folder.

Yeahhh, meant to scrub that from the commits on a new branch but somehow a few snuck in from #14

also probably not worth its own section in readme. if anything, we have (at line 127) a section about how to pass the model in, should just go there

I had initially thought that would be a better place as well. Snipppppet I had was a bit overkill. I updated, tried to spread out the usage to show the model arg on create_deep_agent then pointing to langchain-ollama as alterative for local testing.

@ryaneggz
Ryan Eggleston (ryaneggz) marked this pull request as ready for review August 5, 2025 02:01
@ryaneggz Ryan Eggleston (ryaneggz) changed the title Draft: FROM ryaneggz/13-use-custom-model-with-ollama TO hwchase17/deepagents@main FROM ryaneggz/13-use-custom-model-with-ollama TO hwchase17/deepagents@main Aug 5, 2025
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md
@hwchase17
Harrison Chase (hwchase17) changed the base branch from master to harrison/ollama-example August 5, 2025 17:37
@hwchase17
Harrison Chase (hwchase17) merged commit dfa8156 into langchain-ai:harrison/ollama-example Aug 5, 2025
Harrison Chase (hwchase17) added a commit that referenced this pull request Aug 5, 2025
* FROM ryaneggz/13-use-custom-model-with-ollama TO hwchase17/deepagents@main (#24)


Co-authored-by: Ryan Eggleston <kre8mymedia@gmail.com>
zamal_ (zamalali) pushed a commit to zamalali/deepagents that referenced this pull request Aug 19, 2025
* FROM ryaneggz/13-use-custom-model-with-ollama TO hwchase17/deepagents@main (langchain-ai#24)


Co-authored-by: Ryan Eggleston <kre8mymedia@gmail.com>
jamesskelton-nexefy referenced this pull request in jamesskelton-nexefy/deepagentsv3 Aug 26, 2025
* FROM ryaneggz/13-use-custom-model-with-ollama TO hwchase17/deepagents@main (#24)


Co-authored-by: Ryan Eggleston <kre8mymedia@gmail.com>
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.

Add example of using init_chat_model (with Ollama)

2 participants