2350 Commits

Author SHA1 Message Date
Julian Risch c7cb46c0f2 test: reconcile env-var security test with callable traversal hardening (#12430)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-21 15:50:16 +02:00
bogdankostic 12e23f572e feat: add HAYSTACK_UNSAFE_DESERIALIZATION env var (#12397)
Co-authored-by: Julian Risch <julian.risch@deepset.ai>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-21 15:28:47 +02:00
Sebastian Husch Lee cf4cadbe42 fix!: require unsafe loading for serialized Jinja filters (#12415) 2026-08-21 15:28:36 +02:00
Sebastian Husch Lee 5a30df5b5b fix: validate modules during callable traversal (#12416) 2026-08-21 15:28:23 +02:00
Sebastian Husch Lee 491242e300 feat: quality of life improvement for pipeline building (#12427) 2026-08-21 13:02:11 +00:00
Sebastian Husch Lee b19866f208 chore: remove unused _HAYSTACK_TO_PROVIDER_GENERATION_KWARGS (#12429) 2026-08-21 12:40:00 +00:00
Stefano Fiorucci 53901d9be5 feat: add stop_run State key and TokenBudgetHook (#12411) 2026-08-21 09:01:40 +00:00
Sebastian Husch Lee d4a6149feb feat: Add quality of life Pipeline.add_components function (#12425) 2026-08-21 08:53:07 +00:00
Aditya Raut 39ef21aeae fix: prevent unhandled AssertionError in PipelineBase.__eq__ when comparing to non-Pipeline types (#12387) 2026-08-20 15:33:18 +02:00
Aditya Raut 6fd166e2c1 fix: AzureOpenAIChatGenerator.to_dict() crashes when response_format is a plain dict (#12407)
Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>
2026-08-20 15:12:12 +02:00
Tyyyy 5980f43a2e fix: honor LinkContentFetcher retry attempts (#12401) 2026-08-20 15:06:47 +02:00
alexcastgonz c441953310 fix: convert images off the event loop in LLMDocumentContentExtractor.run_async (#12359)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-20 14:49:11 +02:00
Sebastian Husch Lee beafed375d feat: add summarization compactor (#12296) 2026-08-19 15:05:25 +02:00
Aftab 34f1a94e72 test: enable mypy typing checks for test/token_counters/ (#12368)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-19 09:59:10 +02:00
Gout999 c6edb14f28 test: type-check converter utility tests (#12394)
Signed-off-by: Zhang yau hoi <alexzhang060909@gmail.com>
Co-authored-by: Julian Risch <julian.risch@deepset.ai>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-18 14:10:12 +00:00
Atikul Islam Munna 7274794015 test: enable mypy typing checks for test/components/routers/ (#12354)
Co-authored-by: bogdankostic <bogdankostic@web.de>
2026-08-18 13:08:19 +02:00
LHMQ878 f7f0bb09e6 fix: keep title keys inside OpenAPI singular example values (#12314)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 12:21:28 +02:00
Sebastian Husch Lee 9e2b3b13ea feat: add hitl hook tracing tags (#12324) 2026-08-18 10:35:13 +02:00
Stefano Fiorucci c650e8920e chore: clarify how generation_kwargs passed in run are handled (#12384) 2026-08-18 07:41:01 +00:00
bogdankostic e84738b9a2 fix: harden deserialization by blocking internal interfaces to prevent RCE (#12378)
Co-authored-by: Julian Risch <julian.risch@deepset.ai>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-17 21:40:57 +02:00
Sebastian Husch Lee 4107d31493 chore: update eager spying tracer (#12381) 2026-08-17 14:40:41 +02:00
Sebastian Husch Lee f0f3fefacb fix: Better HITL tool execution decision and tool call consistency (#12345) 2026-08-17 14:20:25 +02:00
Sebastian Husch Lee 0a54f5dc33 fix: fix agent tool spans not getting nested under each other (#12380) 2026-08-17 13:58:56 +02:00
Sebastian Husch Lee 66c3fd870c feat: set tools in State so its available to before_run hooks (#12376)
Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>
2026-08-17 12:53:22 +02:00
alexcastgonz d9d70c04cb fix: rotate the LinkContentFetcher user agent per fetch, not per component (#12364)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: David S. Batista <dsbatista@gmail.com>
2026-08-17 10:45:55 +02:00
alexcastgonz 1d1c63ff04 fix: keep EmbeddingBasedDocumentSplitter.run_async on the async path (#12358)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>
2026-08-17 10:10:45 +02:00
KXH 4441f080bc test: type-check agent state tests (#12327)
Signed-off-by: KXH <shepherdlaurie238@gmail.com>
Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>
2026-08-17 10:08:53 +02:00
Jaideep Pyne 015ad2cf8c fix: avoid duplicating overlap when DocumentSplitter merges a below-threshold segment (#12366)
Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>
2026-08-17 10:08:26 +02:00
Sebastian Husch Lee d62ba6d230 fix: fix openai unit tests (#12374) 2026-08-17 09:26:43 +02:00
Atikul Islam Munna 915888bbc7 test: enable mypy typing checks for test/components/rankers/ (#12319)
Co-authored-by: Julian Risch <julian.risch@deepset.ai>
2026-08-16 09:31:20 +02:00
Stefano Fiorucci 63e94e2e75 chore: unpin openai (#12348) 2026-08-14 13:50:08 +00:00
Stefano Fiorucci 275c21e1ef feat: allow skipping serialization of certain keys in State.to_dict (#12334) 2026-08-14 11:46:21 +02:00
Yu Le 643e9aee87 fix: prevent CSVDocumentSplitter recursion on nested splits (#12344)
Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>
2026-08-14 11:20:43 +02:00
Stefano Fiorucci 5ade21998e fix: fix non-deterministic Pipeline conversion for union in receivers (#12340) 2026-08-14 08:17:32 +00:00
Bharadwaj Pendyala d553a20503 fix: match Human-in-the-Loop decisions to the tool call they were made about (#12277) 2026-08-14 08:51:52 +02:00
Sebastian Husch Lee ba92ec9de3 feat: Add new class variable to chat generators for generation kwarg conversion (#12328) 2026-08-13 16:31:44 +02:00
Stefano Fiorucci d802b6d6c7 test: refactor agent tests (#12326) 2026-08-13 08:04:31 +00:00
Stefano Fiorucci 4521ce01e0 feat: add Agent.clone (#12315) 2026-08-12 17:29:17 +02:00
Sebastian Husch Lee e7d26438e9 feat: add Agent Hook tracing (#12316) 2026-08-12 11:28:59 +00:00
Atikul Islam Munna ab1b01e338 test: enable mypy typing checks for test/components/joiners/ (#12318) 2026-08-12 13:06:49 +02:00
Stefano Fiorucci d5dc42bc7a refactor: stop guarding warmed hooks (#12317) 2026-08-12 13:06:36 +02:00
Sebastian Husch Lee a677234ffe refactor: centralizing shared compaction utils (#12311) 2026-08-12 09:23:57 +02:00
bogdankostic efcf6b895f fix: prevent RCE by hardening deserialization and Jinja sandbox (#12312) 2026-08-11 18:22:28 +02:00
Stefano Fiorucci d8e3bc11c1 refactor: Toolset refactoring - pt. 1 (#12298) 2026-08-11 11:49:02 +02:00
Sebastian Husch Lee b4e262fd4c fix: Fix sliding window compactor to also retain historical user-assistant turns if the budget allows (#12270) 2026-08-11 09:05:26 +00:00
Dhanush Pillay 0c3a485a67 feat: Add link_format to PyPDFToDocument and PDFMinerToDocument (#10677) (#12273)
Co-authored-by: Julian Risch <julian.risch@deepset.ai>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-10 15:21:46 +00:00
Aryan Pardeshi 842519e5e4 test: enable mypy typing checks for test/components/writers/ (#12272)
Co-authored-by: David S. Batista <dsbatista@gmail.com>
2026-08-10 16:09:45 +02:00
Singaraj B 50eebe097b fix: serialize and deserialize typing.Literal (#12286) 2026-08-10 14:08:29 +02:00
Anas Khan b4996ae3c4 fix: divide DocumentMAPEvaluator average precision by all relevant documents (#12255)
Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com>
Co-authored-by: Julian Risch <julian.risch@deepset.ai>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-10 11:29:00 +00:00
Simon Schampijer 93e211774e feat: make MockChatGenerator.response_fn tool-aware (#12265)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>
Co-authored-by: Sebastian Husch Lee <sjrl423@gmail.com>
2026-08-10 10:01:35 +02:00