4606 Commits

Author SHA1 Message Date
Vladimir Blagojevic
b69f7a4d9b Reno note 2025-12-17 14:39:46 +01:00
Vladimir Blagojevic
890f3a5519
Merge branch 'main' into component_tool_state_validation 2025-12-17 14:37:00 +01:00
Vladimir Blagojevic
5bbbe5571e Better algorithm for default _get_valid_inputs 2025-12-17 14:25:18 +01:00
Vladimir Blagojevic
1b907be32b Pydoc clarification 2025-12-17 14:18:28 +01:00
Vladimir Blagojevic
ceb87b372a Fixes 2025-12-17 12:40:16 +01:00
Vladimir Blagojevic
00525b669a Lint fix 2025-12-17 12:35:01 +01:00
Vladimir Blagojevic
c5c3895bfc Edge cases 2025-12-17 12:23:14 +01:00
Vladimir Blagojevic
87ec74784b Details 2025-12-17 12:01:22 +01:00
Vladimir Blagojevic
979a534a7a Simplify 2025-12-17 11:29:06 +01:00
Vladimir Blagojevic
ab1ce33ea2 Move validation to Tool superclass, allow subclasses to hook into verification 2025-12-17 11:17:23 +01:00
Vladimir Blagojevic
ace6bea34b Add ComponentTool state validation 2025-12-17 10:55:20 +01:00
Sebastian Husch Lee
99d506b3eb
refactor: Refactor agent breakpoint logic (#10222)
* No longer pass down parent_snapshot to Agent and break point trigger moved to Pipeline._run_component

* Some cleanup since parent_snapshot is no longer passed down

* linting and typing

* Refactor chat generator break point in Agent to use triggering mechanism of Pipeline._run_component

* small changes

* Refactor so tool invoker break point uses the break_point param of Pipeline._run_component

* edits

* Further reduce duplicate code

* Further reduce duplicate code

* Add break_point as property to BreakpointException

* Fix

* Fix mypy and PR comments

* PR comments
2025-12-17 08:05:57 +00:00
Haystack Bot
67437c7683
Sync Core Integrations API reference (amazon_bedrock) on Docusaurus (#10254)
Co-authored-by: anakin87 <44616784+anakin87@users.noreply.github.com>
2025-12-17 08:52:16 +01:00
Guna Palanivel
9952940ba7
chore!: drop Python 3.9 support due to EOL (#10244)
* feat!: drop Python 3.9 support due to EOL

Remove Python 3.9 support following its end-of-life in October 2025.
Minimum required version is now Python 3.10.

BREAKING CHANGE: Python 3.10 or later is now required

Changes:
- Update pyproject.toml requires-python to >=3.10
- Remove Python 3.9 from pyproject.toml classifiers
- Update CI workflows to test Python 3.10 as minimum
- Update mypy python_version to 3.10
- Migrate TypeAlias from typing_extensions to typing stdlib
- Remove blis version pin (only needed for Python 3.9)
- Update CONTRIBUTING.md Python version requirements
- Add release note documenting breaking change

Closes #9854

* small fixes

* update relnote

---------

Co-authored-by: anakin87 <stefanofiorucci@gmail.com>
2025-12-16 19:00:00 +01:00
Haystack Bot
c32f657ff0
Sync Core Integrations API reference (weaviate) on Docusaurus (#10253)
Co-authored-by: anakin87 <44616784+anakin87@users.noreply.github.com>
2025-12-16 18:37:14 +01:00
Abdallah Taman
43e125de00
docs: Add documents to the in document store (#10241)
* Add document examples 

Added document examples and updated document store usage instead of the empty document store.

* Add docs to the docstore
2025-12-16 11:30:17 +01:00
Stefano Fiorucci
fd989fecc3
ci: fail on malformed code blocks in release notes (#10247)
* ci: fail on malformed code blocks in release notes

* add release notes to test the workflow

* Revert "add release notes to test the workflow"

This reverts commit 8157790dd65721998b20c57654c7f97712111391.
2025-12-15 16:56:06 +01:00
Haystack Bot
49d1391bca
Sync Haystack API reference on Docusaurus (#10243)
Co-authored-by: vblagoje <458335+vblagoje@users.noreply.github.com>
2025-12-15 11:16:02 +01:00
Vladimir Blagojevic
9c52faf6b8
Update docs-website/reference/haystack-api/classifiers_api.md (#10227) 2025-12-15 10:44:39 +01:00
Stefano Fiorucci
e22c208232
test: improve some tests + retry others (#10239) 2025-12-15 09:41:36 +01:00
Stefano Fiorucci
3b4f4ac7e9
ci: Release orchestration workflow (#10233)
* ci: release orchestration workflow

* offload notification preparation to external script

* swap if/needs

* slim where makes sense

* tmp test for ubuntu slim

* revet

* concurrency
2025-12-12 16:30:02 +01:00
Haystack Bot
d4ed41d24c
Sync Haystack API reference on Docusaurus (#10238)
Co-authored-by: vblagoje <458335+vblagoje@users.noreply.github.com>
2025-12-12 15:49:06 +01:00
David S. Batista
a6eb23c451
docs: fixing AutoMergingRetriever docstring code (#10231)
* initial import

* cleaning leftover

* removing policy

* fixing output

* Apply suggestion from @anakin87

Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>

* Update other retrievers causing issues in pydoc snipptet runs

* Update haystack/components/retrievers/auto_merging_retriever.py

---------

Co-authored-by: Vladimir Blagojevic <dovlex@gmail.com>
Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>
2025-12-12 15:41:32 +01:00
dependabot[bot]
2cd21982df
chore(deps): bump actions/cache from 4 to 5 (#10237)
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-12 15:16:49 +01:00
Haystack Bot
d5b33a9eb9
Sync Haystack API reference on Docusaurus (#10236)
Co-authored-by: anakin87 <44616784+anakin87@users.noreply.github.com>
2025-12-12 15:04:18 +01:00
Stefano Fiorucci
8b08ba00fa
ci: use ubuntu-slim where makes sense (#10234)
* ci: use ubuntu-slim where makes sense

* revert some changes

* test more actions

* test sync docs too

* revert

* set go version
2025-12-12 14:57:32 +01:00
Lin Manhui
2d25488db6
feat: add PaddleOCRVLDocumentConverter documentation (#10228)
* Add PaddleOCRVLDocumentConverter documentation

* Update sidebars.js and converters.mdx

* Update link

* Update versioned docs

* Update versioned sidebars.json

---------

Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>
2025-12-12 10:28:39 +01:00
Stefano Fiorucci
0205781af1
ci: add scripts for release automation (#10226)
* ci: add scripts for release automation

* improvements from review
2025-12-11 17:06:24 +01:00
Haystack Bot
62acd00602
Sync Haystack API reference on Docusaurus (#10230)
Co-authored-by: vblagoje <458335+vblagoje@users.noreply.github.com>
2025-12-11 16:51:58 +01:00
Vladimir Blagojevic
18a71355ca
Update docs-website/reference/haystack-api/converters_api.md (#10229) 2025-12-11 16:37:49 +01:00
Stefano Fiorucci
c6d050801f
ci: refactor branch off workflow (#10224) 2025-12-11 15:39:09 +01:00
Haystack Bot
50594a50af
Sync Haystack API reference on Docusaurus (#10225)
Co-authored-by: vblagoje <458335+vblagoje@users.noreply.github.com>
2025-12-11 15:16:20 +01:00
Vladimir Blagojevic
4a56d52b60
chore: Update code snippets in docs (audio and builders components) (#10156)
* Update code snippets in docs

* Add reno note

* Revert "Add reno note"

This reverts commit 18733fa828ebedfe5b20903bcf0080abc198ad9e.

* PR feedback

* Minor fix

* No Secrets between us

* Comments format update

* Restore output format

* Script output, needs to be commented
2025-12-11 15:06:54 +01:00
Haystack Bot
63de06bdf8
Sync Haystack API reference on Docusaurus (#10223)
Co-authored-by: vblagoje <458335+vblagoje@users.noreply.github.com>
2025-12-11 12:57:48 +01:00
Vladimir Blagojevic
0c214c1f9a
feat: Update HuggingFaceLocalChatGenerator default model to Qwen/Qwen3-0.6B (#10176)
* Update HuggingFaceLocalChatGenerator default model to Qwen/Qwen3-0.6B

* Add enable_thinking init parameter

* Pydoc wording

* Format test

* Add tests for enable_thinking flag

* Add reno note for HuggingFaceLocalChatGenerator updates

* Update haystack/components/generators/chat/hugging_face_local.py

Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>

* Update release notes for HuggingFaceLocalChatGenerator

Updated the release notes to reflect changes in the HuggingFaceLocalChatGenerator, including the new default model and the addition of the enable_thinking parameter.

* Simplify test_live_run with/out enable_thinking flag

* Test shuffle

---------

Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>
2025-12-11 12:20:23 +01:00
Sebastian Husch Lee
b4fd38dcbe
remove unneeded test (#10221) 2025-12-11 11:11:38 +01:00
dependabot[bot]
938b922b3c
chore(deps): bump peter-evans/create-pull-request from 7 to 8 (#10220)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7 to 8.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v7...v8)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-10 15:34:39 +01:00
Daria Fokina
64397ad240
remove unnecessary warmup method in docs (#10217) 2025-12-10 13:14:20 +01:00
Haystack Bot
24f897a4e4
Sync Core Integrations API reference (elasticsearch) on Docusaurus (#10219)
Co-authored-by: davidsbatista <7937824+davidsbatista@users.noreply.github.com>
Co-authored-by: David S. Batista <dsbatista@gmail.com>
2025-12-10 13:07:18 +01:00
David S. Batista
ca9c8a5ae6
fix: _handle_async_stream_response() in OpenAIChatGenerator handles asyncio.CancelledError closing the response stream (#10175)
* adding tests + fixing a test on openai_responses tests

* adding release notes

* fixing license header

* fixing license header

* Update releasenotes/notes/fix-OpenAIChatGenerator-handles-asyncio.CancelledError-closing-response-stream-37e1e85255e1dc41.yaml

Co-authored-by: Michele Pangrazzi <xmikex83@gmail.com>

---------

Co-authored-by: Michele Pangrazzi <xmikex83@gmail.com>
2025-12-10 13:06:51 +01:00
Haystack Bot
ee69c0b402
Sync Core Integrations API reference (azure_ai_search) on Docusaurus (#10218)
Co-authored-by: davidsbatista <7937824+davidsbatista@users.noreply.github.com>
2025-12-10 13:04:22 +01:00
Haystack Bot
cb8082e196
Sync Core Integrations API reference (paddleocr) on Docusaurus (#10216)
Co-authored-by: anakin87 <44616784+anakin87@users.noreply.github.com>
2025-12-10 11:13:04 +01:00
Haystack Bot
c09233c638
Sync Haystack API reference on Docusaurus (#10214)
Co-authored-by: sjrl <10526848+sjrl@users.noreply.github.com>
2025-12-10 10:48:27 +01:00
Stefano Fiorucci
88c1b59a0b
ci: set actor of automated PRs as a reviewer (#10212)
* try setting author of automated PRs as reviewer

* updates
2025-12-10 10:47:40 +01:00
Sebastian Husch Lee
277f697a00
feat: Have components auto run warm_up on first use instead of erroring when not pre-warmed up (#10181)
* refactor

* Update tests

* Add reno

* Fix types

* fix type

* Fix test

* fix unit tests

* Add asserts to make mypy happy

* Fix unit test

* Update releasenotes/notes/refactor-warm-up-components-c2777fef28a70b61.yaml

Co-authored-by: David S. Batista <dsbatista@gmail.com>

* start getting rid of asserts

* remove more asserts

* remove last assert

* Remove assert

---------

Co-authored-by: David S. Batista <dsbatista@gmail.com>
2025-12-10 10:38:36 +01:00
Vladimir Blagojevic
7daefb8a15
fix: Improve error messages for non-string templates in ConditionalRouter (#10189)
* Improve error messages for non-string templates in ConditionalRouter

* Add reno note

* Minor test fix
2025-12-10 10:36:24 +01:00
Daria Fokina
5efa691bb5
fix: enable vale workflow correctly to review documentation changes (#10211)
* fix: add config path to Vale workflow

* test: add doc to test Vale linting

* Update docs-website-vale.yml

* test single docs folder

* adjust rules

* file for testing vale comments

* adjust rules

* abbreviation rule swap

* simpler test file

* adjust more rules after review

* new testing mdx file

* Delete test-component-page.mdx
2025-12-10 10:18:23 +01:00
Daria Fokina
f333aa6b0c
Add missing QueryExpander and MultiQuery retrievers to version-2.21 sidebar (#10206) 2025-12-09 11:49:57 +01:00
Aohua Zhang
feafeee6d0
docs: add quota note for OpenAIChatGenerator in get-started guide (#10207)
* docs: add quota note for OpenAIChatGenerator in get-started guide

* Apply suggestion from @davidsbatista

* Apply suggestions from code review

---------

Co-authored-by: David S. Batista <dsbatista@gmail.com>
2025-12-09 10:18:54 +01:00
Tommaso Cerruti
5441f68ea2
docs: clarify component init serialization (#10205) 2025-12-09 09:25:32 +01:00