unique_deep_research 2026.44.0.dev1__tar.gz → 2026.46.0.dev0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/PKG-INFO +4 -3
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/pyproject.toml +5 -3
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/service.py +8 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/unique_custom/tools.py +4 -1
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/README.md +0 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/__init__.py +0 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/config.py +0 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/invocation_stats.py +0 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/markdown_utils.py +0 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/templates/clarifying_agent.j2 +0 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/templates/openai/oai_research_system_message.j2 +0 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/templates/report_cleanup_prompt.j2 +0 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/templates/research_instructions_agent.j2 +0 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/templates/unique/compress_research_system.j2 +0 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/templates/unique/lead_agent_system.j2 +0 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/templates/unique/report_writer_system_open_deep_research.j2 +0 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/templates/unique/research_agent_system.j2 +0 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/unique_custom/__init__.py +0 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/unique_custom/agents.py +0 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/unique_custom/citation.py +0 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/unique_custom/state.py +0 -0
- {unique_deep_research-2026.44.0.dev1 → unique_deep_research-2026.46.0.dev0}/unique_deep_research/unique_custom/utils.py +0 -0
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: unique-deep-research
|
|
3
|
-
Version: 2026.
|
|
3
|
+
Version: 2026.46.0.dev0
|
|
4
4
|
Summary: Deep Research Tool for complex research tasks
|
|
5
5
|
Author: Martin Fadler, Sadique Sheik, Fabian Schläpfer, Pascal Hauri
|
|
6
6
|
Author-email: Martin Fadler <martin.fadler@unique.ch>, Sadique Sheik <sadique@unique.ch>, Fabian Schläpfer <fabian@unique.ch>, Pascal Hauri <pascal@unique.ch>
|
|
7
7
|
License: Proprietary
|
|
8
8
|
Requires-Dist: pydantic>=2.8.2,<3
|
|
9
9
|
Requires-Dist: typing-extensions>=4.9.0,<5
|
|
10
|
-
Requires-Dist: unique-toolkit>=2026.
|
|
10
|
+
Requires-Dist: unique-toolkit>=2026.46.0.dev0,<2026.46.0rc0
|
|
11
11
|
Requires-Dist: jinja2>=3.1.2,<4
|
|
12
12
|
Requires-Dist: openai>=1.99.0,<3
|
|
13
13
|
Requires-Dist: langgraph>=1.0.0,<2
|
|
14
14
|
Requires-Dist: langchain-core>=1.0.0,<2
|
|
15
|
-
Requires-Dist: unique-web-search>=2026.
|
|
15
|
+
Requires-Dist: unique-web-search>=2026.46.0.dev0,<2026.46.0rc0
|
|
16
|
+
Requires-Dist: unique-search-proxy-core>=2026.46.0.dev0,<2026.46.0rc0
|
|
16
17
|
Requires-Dist: httpx>=0.28.0,<0.29
|
|
17
18
|
Requires-Dist: timeout-decorator>=0.5.0,<0.6
|
|
18
19
|
Requires-Dist: beautifulsoup4>=4.12.0,<5
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "unique_deep_research"
|
|
3
|
-
version = "2026.
|
|
3
|
+
version = "2026.46.0.dev0"
|
|
4
4
|
description = "Deep Research Tool for complex research tasks"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = { text = "Proprietary" }
|
|
@@ -14,12 +14,13 @@ requires-python = ">=3.12,<4"
|
|
|
14
14
|
dependencies = [
|
|
15
15
|
"pydantic>=2.8.2,<3",
|
|
16
16
|
"typing-extensions>=4.9.0,<5",
|
|
17
|
-
"unique-toolkit>=2026.
|
|
17
|
+
"unique-toolkit>=2026.46.0.dev0,<2026.46.0rc0",
|
|
18
18
|
"jinja2>=3.1.2,<4",
|
|
19
19
|
"openai>=1.99.0,<3",
|
|
20
20
|
"langgraph>=1.0.0,<2",
|
|
21
21
|
"langchain-core>=1.0.0,<2",
|
|
22
|
-
"unique-web-search>=2026.
|
|
22
|
+
"unique-web-search>=2026.46.0.dev0,<2026.46.0rc0",
|
|
23
|
+
"unique-search-proxy-core>=2026.46.0.dev0,<2026.46.0rc0",
|
|
23
24
|
"httpx>=0.28.0,<0.29",
|
|
24
25
|
"timeout-decorator>=0.5.0,<0.6",
|
|
25
26
|
"beautifulsoup4>=4.12.0,<5",
|
|
@@ -50,6 +51,7 @@ exclude-newer = "2 weeks"
|
|
|
50
51
|
unique-sdk = { workspace = true }
|
|
51
52
|
unique-toolkit = { workspace = true }
|
|
52
53
|
unique-web-search = { workspace = true }
|
|
54
|
+
unique-search-proxy-core = { workspace = true }
|
|
53
55
|
|
|
54
56
|
[tool.poe.tasks]
|
|
55
57
|
lint = "ruff check ."
|
|
@@ -19,6 +19,7 @@ from openai.types.responses.response_output_text import (
|
|
|
19
19
|
)
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field
|
|
21
21
|
from typing_extensions import override
|
|
22
|
+
from unique_search_proxy_core.context import EntryPoint, RequestContext
|
|
22
23
|
from unique_toolkit._common.execution import safe_execute_async
|
|
23
24
|
from unique_toolkit.agentic.evaluation.schemas import EvaluationMetricName
|
|
24
25
|
from unique_toolkit.agentic.short_term_memory_manager.persistent_short_term_memory_manager import (
|
|
@@ -546,6 +547,13 @@ class DeepResearchTool(Tool[DeepResearchToolConfig]):
|
|
|
546
547
|
"message_id": self.chat_service.assistant_message_id,
|
|
547
548
|
"citation_manager": citation_manager,
|
|
548
549
|
"additional_openai_proxy_headers": additional_openai_proxy_headers,
|
|
550
|
+
"request_context": RequestContext(
|
|
551
|
+
company_id=self.company_id,
|
|
552
|
+
user_id=self.user_id,
|
|
553
|
+
chat_id=self.chat_id,
|
|
554
|
+
user_metadata=self.event.payload.user_metadata or {},
|
|
555
|
+
entry_point=EntryPoint.DEEP_RESEARCH,
|
|
556
|
+
),
|
|
549
557
|
},
|
|
550
558
|
}
|
|
551
559
|
|
|
@@ -15,6 +15,7 @@ from langchain_core.runnables import RunnableConfig
|
|
|
15
15
|
from langchain_core.tools import Tool, tool
|
|
16
16
|
from markdownify import markdownify
|
|
17
17
|
from pydantic import BaseModel, Field
|
|
18
|
+
from unique_search_proxy_core.context import LOCAL_REQUEST_CONTEXT
|
|
18
19
|
from unique_toolkit.chat.schemas import (
|
|
19
20
|
MessageLogDetails,
|
|
20
21
|
MessageLogEvent,
|
|
@@ -163,7 +164,9 @@ async def web_search(query: str, config: RunnableConfig) -> str:
|
|
|
163
164
|
].tools.web_tools_config.show_full_page_result
|
|
164
165
|
|
|
165
166
|
search_engine_service = get_search_engine_service(
|
|
166
|
-
engine_config,
|
|
167
|
+
engine_config,
|
|
168
|
+
configurable["language_model_service"],
|
|
169
|
+
request_context=configurable.get("request_context", LOCAL_REQUEST_CONTEXT),
|
|
167
170
|
)
|
|
168
171
|
|
|
169
172
|
# Perform the search
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|