Mason Daugherty
231e8d0f43
deepseek[patch]: ruff fixes and rules ( #31901 )
...
* bump ruff deps
* add more thorough ruff rules
* fix said rules
2025-07-07 21:54:44 -04:00
Mason Daugherty
38bd1abb8c
chroma[patch]: ruff fixes and rules ( #31900 )
...
* bump ruff deps
* add more thorough ruff rules
* fix said rules
2025-07-07 21:45:19 -04:00
Mason Daugherty
2a7645300c
anthropic[patch]: ruff fixes and rules ( #31899 )
...
* bump ruff deps
* add more thorough ruff rules
* fix said rules
2025-07-07 18:32:27 -04:00
Mason Daugherty
e7eac27241
ruff: more rules across the board & fixes ( #31898 )
...
* standardizes ruff dep version across all `pyproject.toml` files
* cli: ruff rules and corrections
* langchain: rules and corrections
2025-07-07 17:48:01 -04:00
Mason Daugherty
706a66eccd
fix: automatically fix issues with ruff ( #31897 )
...
* Perform safe automatic fixes instead of only selecting
[isort](https://docs.astral.sh/ruff/rules/#isort-i )
2025-07-07 14:13:10 -04:00
Mason Daugherty
e686a70ee0
ollama: thinking, tool streaming, docs, tests ( #31772 )
...
* New `reasoning` (bool) param to support toggling [Ollama
thinking](https://ollama.com/blog/thinking ) (#31573 , #31700 ). If
`reasoning=True`, Ollama's `thinking` content will be placed in the
model responses' `additional_kwargs.reasoning_content`.
* Supported by:
* ChatOllama (class level, invocation level TODO)
* OllamaLLM (TODO)
* Added tests to ensure streaming tool calls is successful (#29129 )
* Refactored tests that relied on `extract_reasoning()`
* Myriad docs additions and consistency/typo fixes
* Improved type safety in some spots
Closes #29129
Addresses #31573 and #31700
Supersedes #31701
2025-07-07 13:56:41 -04:00
ccurme
0eb10f31c1
mistralai: release 0.2.11 ( #31896 )
2025-07-07 17:47:36 +00:00
m27315
013ce2c47f
huggingface: fix HuggingFaceEndpoint._astream() got multiple values for argument 'stop' ( #31385 )
2025-07-06 15:18:53 +00:00
ccurme
3f4b355eef
anthropic[patch]: pass back in citations in multi-turn conversations ( #31882 )
...
Also adds VCR cassettes for some heavy tests.
2025-07-05 17:33:22 -04:00
ccurme
ade642b7c5
Revert "infra: temporarily skip tests" ( #31854 )
...
Reverts langchain-ai/langchain#31853
2025-07-03 13:55:29 -04:00
ccurme
c9f45dc323
infra: temporarily skip tests ( #31853 )
...
Tests failed twice with different timeout errors.
2025-07-03 13:39:14 -04:00
ccurme
f88fff0b8a
anthropic: release 0.3.17 ( #31852 )
2025-07-03 13:18:43 -04:00
Mason Daugherty
572020c4d8
ollama: add validate_model_on_init, catch more errors ( #31784 )
...
* Ensure access to local model during `ChatOllama` instantiation
(#27720 ). This adds a new param `validate_model_on_init` (default:
`true`)
* Catch a few more errors from the Ollama client to assist users
2025-07-03 11:07:11 -04:00
Mason Daugherty
1a3a8db3c9
docs: anthropic formatting cleanup ( #31847 )
...
inline URLs, capitalization, code blocks
2025-07-03 14:50:23 +00:00
Mason Daugherty
911b0b69ea
groq: Add service tier option to ChatGroq ( #31801 )
...
- Allows users to select a [flex
processing](https://console.groq.com/docs/flex-processing ) service tier
2025-07-03 10:11:18 -04:00
Mason Daugherty
eb12294583
langchain-xai[patch]: Add ruff bandit rules to linter ( #31816 )
...
- Add ruff bandit rules
- Some formatting
2025-07-01 18:59:06 +00:00
Mason Daugherty
86a698d1b6
langchain-qdrant[patch]: Add ruff bandit rules to linter ( #31815 )
...
- Add ruff bandit rules
- Address a few s101s
- Some formatting
2025-07-01 18:42:55 +00:00
Mason Daugherty
b03e326231
langchain-prompty[patch]: Add ruff bandit rules to linter ( #31814 )
...
- Add ruff bandit rules
- Address some s101 assertion warnings
- Address s506 by using `yaml.safe_load()`
2025-07-01 18:32:02 +00:00
Mason Daugherty
3190c4132f
langchain-perplexity[patch]: Add ruff bandit rules to linter ( #31812 )
...
- Add ruff bandit rules
2025-07-01 18:17:28 +00:00
Mason Daugherty
f30fe07620
update pyproject.toml flake8 comment ( #31810 )
2025-07-01 18:16:38 +00:00
Mason Daugherty
d0dce5315f
langchain-ollama[patch]: Add ruff bandit rules to linter ( #31811 )
...
- Add ruff bandit rules
2025-07-01 18:16:07 +00:00
Mason Daugherty
c9e1ce2966
groq: release 0.3.5 ( #31809 )
2025-07-01 13:21:23 -04:00
Mason Daugherty
404d8408f4
langchain-nomic[patch]: Add ruff bandit rules to linter ( #31805 )
...
- Add ruff bandit rules
- Some formatting
2025-07-01 11:39:11 -04:00
Mason Daugherty
0279af60b5
langchain-mistralai[patch]: Add ruff bandit rules to linter, formatting ( #31803 )
...
- Add ruff bandit rules
- Address a s101 error
- Formatting
2025-07-01 11:08:01 -04:00
Mason Daugherty
425ee52581
langchain-huggingface[patch]: Add ruff bandit rules to linter ( #31798 )
...
- Add ruff bandit rules
2025-07-01 11:07:52 -04:00
Mason Daugherty
0efaa483e4
langchain-groq[patch]: Add ruff bandit rules to linter ( #31797 )
...
- Add ruff bandit rules
- Address s105 errors
2025-07-01 11:07:42 -04:00
Mason Daugherty
479b6fd7c5
langchain-fireworks[patch]: Add ruff bandit rules to linter ( #31796 )
...
- Add ruff bandit rules
- Address a s113 error
2025-07-01 11:07:26 -04:00
Mason Daugherty
33c9bf1adc
langchain-openai[patch]: Add ruff bandit rules to linter ( #31788 )
2025-06-30 14:01:32 -04:00
Mason Daugherty
645e25f624
langchain-anthropic[patch]: Add ruff bandit rules ( #31789 )
2025-06-30 14:00:53 -04:00
Mason Daugherty
247673ddb8
chroma: add ruff bandit rules ( #31790 )
2025-06-30 14:00:08 -04:00
Mason Daugherty
1a5120dc9d
langchain-deepseek[patch]: add ruff bandit rules ( #31792 )
...
add ruff bandit rules
2025-06-30 13:59:35 -04:00
Mason Daugherty
6572399174
langchain-exa: add ruff bandit rules ( #31793 )
...
Add ruff bandit rules
2025-06-30 13:58:38 -04:00
ccurme
9f17fabc43
openai: release 0.3.27 ( #31769 )
...
To pick up https://github.com/langchain-ai/langchain/pull/31756 .
2025-06-27 13:44:45 -04:00
Andrew Jaeger
0189c50570
openai[fix]: Correctly set usage metadata for OpenAI Responses API ( #31756 )
2025-06-27 15:35:14 +00:00
ccurme
e8e89b0b82
docs: updates from langchain-openai 0.3.26 ( #31764 )
2025-06-27 11:27:25 -04:00
Mason Daugherty
e1aff00cc1
groq: support reasoning_effort, update docs for clarity ( #31754 )
...
- There was some ambiguous wording that has been updated to hopefully
clarify the functionality of `reasoning_format` in ChatGroq.
- Added support for `reasoning_effort`
- Added links to see models capable of `reasoning_format` and
`reasoning_effort`
- Other minor nits
2025-06-27 09:43:40 -04:00
ccurme
ea1345a58b
openai[patch]: update cassette ( #31752 )
...
Following changes in `openai==1.92`.
2025-06-26 14:52:12 -04:00
ccurme
066be383e3
openai[patch]: update test following release of openai 1.92 ( #31751 )
...
Added new required fields for `ResponseFunctionWebSearch`
2025-06-26 18:22:58 +00:00
ccurme
61feaa4656
openai: release 0.3.26 ( #31749 )
2025-06-26 13:51:51 -04:00
ccurme
88d5f3edcc
openai[patch]: allow specification of output format for Responses API ( #31686 )
2025-06-26 13:41:43 -04:00
Mason Daugherty
59c2b81627
docs: fix some inline links ( #31748 )
2025-06-26 13:35:14 -04:00
ccurme
0ae434be21
anthropic: release 0.3.16 ( #31744 )
2025-06-26 09:09:29 -04:00
Mason Daugherty
2fb27b63f5
ollama: update tests, docs ( #31736 )
...
- docs: for the Ollama notebooks, improve the specificity of some links,
add `homebrew` install info, update some wording
- tests: reduce number of local models needed to run in half from 4 → 2
(shedding 8gb of required installs)
- bump deps (non-breaking) in anticipation of upcoming "thinking" PR
2025-06-25 20:13:20 +00:00
ccurme
84500704ab
openai[patch]: fix bug where function call IDs were not populated ( #31735 )
...
(optional) IDs were getting dropped in some cases.
2025-06-25 19:08:27 +00:00
ccurme
0bf223d6cf
openai[patch]: add attribute to always use previous_response_id ( #31734 )
2025-06-25 19:01:43 +00:00
ccurme
b02bd67788
anthropic[patch]: cache clients ( #31659 )
2025-06-25 14:49:02 -04:00
ccurme
e09abf8170
anthropic[patch]: add benchmark ( #31718 )
...
Account for lazy loading of clients in init time benchmark
2025-06-24 15:17:22 -04:00
Mason Daugherty
8878a7b143
docs: ollama nits ( #31714 )
2025-06-24 13:19:15 -04:00
joshy-deshaw
8a0782c46c
openai[patch]: fix dropping response headers while streaming / Azure ( #31580 )
2025-06-23 17:59:58 -04:00
Mason Daugherty
8868701c16
docs: updated ChatGroq docs and example ( #31710 )
2025-06-23 20:36:46 +00:00