Sydney Runkle
4065bc0d17
remove comments
2025-09-12 08:53:43 -04:00
Sydney Runkle
a30d59a92e
change for codspeed
2025-09-12 08:43:46 -04:00
Mason Daugherty
649d8a8223
test(anthropic): enable VCR for web fetch test ( #32913 )
...
The API issues have been resolved; no longer xfailing
2025-09-12 03:19:55 +00:00
Mason Daugherty
bbb1b9085d
release(prompty): 0.1.2 ( #32907 )
2025-09-11 16:19:07 -04:00
Matthew Lapointe
b1f08467cd
feat(core): allow overriding ls_model_name from kwargs ( #32541 )
2025-09-11 16:18:06 -04:00
Mason Daugherty
115e20a0bc
release(ollama): 0.3.8 ( #32906 )
2025-09-11 16:00:41 -04:00
Mason Daugherty
0ea945d291
release(nomic): 0.1.5 ( #32905 )
2025-09-11 15:54:19 -04:00
Mason Daugherty
5795ec3c4d
release(exa): 0.3.1 ( #32902 )
2025-09-11 15:53:13 -04:00
Mason Daugherty
bd765753ca
release(chroma): 0.2.6 ( #32901 )
2025-09-11 15:52:19 -04:00
Mason Daugherty
255ad31955
release(anthropic): 0.3.20 ( #32900 )
2025-09-11 15:18:43 -04:00
Mason Daugherty
00e992a780
feat(anthropic): web fetch beta ( #32894 )
...
Note: citations are broken until Anthropic fixes their API
2025-09-11 15:14:06 -04:00
Mason Daugherty
38afeddcb6
fix(groq): update docs due to model deprecation ( #32899 )
...
On Friday, October 10th, the moonshotai/kimi-k2-instruct model will be
decommissioned in favor of the latest version,
moonshotai/kimi-k2-instruct-0905.
Until then, requests to moonshotai/kimi-k2-instruct will automatically
be routed to moonshotai/kimi-k2-instruct-0905.
2025-09-11 15:00:24 -04:00
Mason Daugherty
7a158c7f1c
revert: "chore: remove ruff target-version" ( #32895 )
...
Reverts langchain-ai/langchain#32880
Not needed at the moment, will do when finishing v1
2025-09-10 20:56:48 -04:00
Mason Daugherty
38001699d5
fix(anthropic): remove unneeded beta flags ( #32893 )
...
- Beta isn't needed for search result tests anymore
- Add TODO for other tests to come back when generally available
- Regenerate remote MCP snapshot after some testing (now the same, but
fresher)
- Bump deps
2025-09-10 20:47:13 +00:00
Mason Daugherty
3da0377c02
fix(anthropic): update ChatAnthropic model in tests/doc ( #32892 )
...
from `'claude-3-5-sonnet-latest'` to `'claude-3-5-haiku-latest'` since
sonnet is deprecated
2025-09-10 16:44:04 -04:00
Aasish
9c7d262ff4
fix(openai): update AzureOpenAIEmbeddings validation logic for openai_api_base ( #31782 )
2025-09-10 14:53:30 -04:00
ccurme
450870c9ac
release(qdrant): 0.2.1 ( #32889 )
2025-09-10 13:21:16 -04:00
Zhou Jing
10dfeea110
fix(qdrant): allow as_retriever to work without embeddings in SPARSE mode ( #32757 )
2025-09-10 13:08:50 -04:00
ccurme
34ecb92178
release(openai): 0.3.33 ( #32887 )
2025-09-10 11:53:26 -04:00
Alexey Bondarenko
181bb91ce0
fix(ollama): Fix handling message content lists ( #32881 )
...
The Ollama chat model adapter does not support all of the possible
message content formats. That leads to Ollama model adapter crashing on
some messages from different models (e.g. Gemini 2.5 Flash).
These changes should fix one known scenario - when `content` is a list
containing a string.
2025-09-10 11:13:28 -04:00
Christophe Bornet
b274416441
chore: remove ruff target-version ( #32880 )
...
This is not needed anymore since `requires-python` was added when moving
to `uv`.
2025-09-10 11:12:30 -04:00
ccurme
937087a29c
release(groq): 0.3.8 ( #32870 )
2025-09-09 14:39:02 -04:00
Jan Z
08bf4c321f
feat(groq): add support for json_schema ( #32396 )
2025-09-09 18:30:07 +00:00
Mason Daugherty
4c6af2d1b2
fix(openai): structured output ( #32551 )
2025-09-09 11:37:50 -04:00
Christophe Bornet
cc3b5afe52
fix(huggingface): fix typing in test_standard ( #32863 )
2025-09-09 10:05:41 -04:00
Sadiq Khan
228fbac3a6
fix(openai): handle AIMessages without response_id in _get_last_messages ( #32824 )
2025-09-08 10:12:50 -04:00
JunHyungKang
6ea06ca972
fix(openai): Fix Azure OpenAI Responses API model field issue ( #32649 )
2025-09-08 10:08:35 -04:00
ccurme
5b0a55ad35
chore(openai): apply formatting changes to AzureChatOpenAI ( #32848 )
2025-09-08 09:54:20 -04:00
Mason Daugherty
4e39c164bb
fix(anthropic): remove beta header warning for TTL ( #32832 )
...
No longer beta as of Aug 13
2025-09-05 14:28:58 -04:00
Shahroz Ahmad
4828a85ab0
feat(core): add web_search in OpenAI tools list ( #32738 )
2025-09-02 21:57:25 +00:00
Ravirajsingh Sodha
b42dac5fe6
docs: standardize OllamaLLM and BaseOpenAI docstrings ( #32758 )
...
- Add comprehensive docstring following LangChain standards
- Include Setup, Key init args, Instantiate, Invoke, Stream, and Async
sections
- Provide detailed parameter descriptions and code examples
- Fix linting issues for code formatting compliance
Contributes to #24803
---------
Co-authored-by: Mason Daugherty <github@mdrxy.com >
2025-08-31 17:45:56 -05:00
Mason Daugherty
3d08b6bd11
chore: adress pytest-asyncio deprecation warnings + other nits ( #32696 )
...
amongst some linting imcompatible rules
2025-08-26 15:51:38 -04:00
ccurme
008043977d
release(openai): 0.3.32 ( #32691 )
2025-08-26 14:05:40 +00:00
Jacob Lee
1459d4f4ce
fix(openai): Always add raw response object to OpenAI client errors for invoke ( #32655 )
2025-08-26 09:59:25 -04:00
Maitrey Talware
622337a297
docs(docs): fixed typos in documentations ( #32661 )
...
Minor typo fixes. (Not linked to current open issues)
2025-08-25 10:02:53 -04:00
Mason Daugherty
2d0713c2fc
fix(infra): ollama CI
2025-08-22 16:40:03 -04:00
Mason Daugherty
8060b371bb
fix(infra): ollama CI
2025-08-22 16:37:05 -04:00
Mason Daugherty
7851f66503
release(ollama): 0.3.7 ( #32651 )
2025-08-22 15:18:40 -04:00
Mason Daugherty
af3b88f58d
feat(ollama): update reasoning type to support string values for custom intensity levels (e.g. gpt-oss) ( #32650 )
2025-08-22 15:11:32 -04:00
itaismith
1eb45d17fb
feat(chroma): Add support for collection forking ( #32627 )
2025-08-21 17:57:55 -04:00
ccurme
8545d4731e
release(openai): 0.3.31 ( #32646 )
2025-08-21 16:50:27 -04:00
Alex Naidis
21f7a9a9e5
fix(openai): allow temperature parameter for gpt-5-chat models ( #32624 )
2025-08-21 16:40:10 -04:00
sa411022
61bc1bf9cc
fix(openai): construct responses api input ( #32557 )
2025-08-21 15:56:29 -04:00
Shahrukh Shaik
4ba222148d
fix(openai): Chat Message Annotations defaults to [ ] if not list or None ( #32614 )
2025-08-21 15:30:12 -04:00
Mohammad Mohtashim
00259b0061
fix(deepseek): Deep Seek Model for LS Tracing ( #32575 )
...
- **Description:** Fix for LS Tracing for Provider for DeepSeek.
- **Issue:** #32484
---------
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-08-18 18:48:30 +00:00
Mason Daugherty
a6690eb9fd
release(anthropic): 0.3.19 ( #32595 )
2025-08-18 14:25:03 -04:00
Mason Daugherty
f69f9598f5
chore: update references to use the latest version of Claude-3.5 Sonnet ( #32594 )
2025-08-18 14:11:15 -04:00
Mason Daugherty
8d0fb2d04b
fix(anthropic): correct input_token count for streaming ( #32591 )
...
* Create usage metadata on
[`message_delta`](https://docs.anthropic.com/en/docs/build-with-claude/streaming#event-types )
instead of at the beginning. Consequently, token counts are not included
during streaming but instead at the end. This allows for accurate
reporting of server-side tool usage (important for billing)
* Add some clarifying comments
* Fix some outstanding Pylance warnings
* Remove unnecessary `text` popping in thinking blocks
* Also now correctly reports `input_cache_read`/`input_cache_creation`
as a result
2025-08-18 17:51:47 +00:00
Mason Daugherty
8042b04da6
fix(anthropic): clean up null file_id fields in citations during message formatting ( #32592 )
...
When citations are returned from streaming, they include a `file_id:
null` field in their `content_block_location` structure.
When these citations are passed back to the API in subsequent messages,
the API rejects them with "Extra inputs are not permitted" for the
`file_id` field.
2025-08-18 13:01:52 -04:00
Mason Daugherty
fd891ee3d4
revert(anthropic): streaming token counting to defer input tokens until completion ( #32587 )
...
Reverts langchain-ai/langchain#32518
2025-08-18 09:48:33 -04:00