Skip to content

Commit 9756cc6

Browse files
committed
Remove Confluence integration and related dependencies
1 parent f9b22ea commit 9756cc6

File tree

8 files changed

+6
-931
lines changed

8 files changed

+6
-931
lines changed

config.yaml.example

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ tavily:
1616
api_key: "your-tavily-api-key-here" # Required: Your Tavily API key
1717
api_base_url: "https://api.tavily.com" # Tavily API base URL
1818

19-
# Confluence Configuration (Optional - for internal knowledge base search)
20-
confluence:
21-
enabled: true # Enable/disable Confluence tools
22-
base_url: "https://conf.yourcompany.com" # Your Confluence base URL
23-
username: "your-username" # Confluence username
24-
password: "your-password-or-api-token" # Confluence password or API token
25-
timeout: 30.0 # Request timeout in seconds
26-
2719
# Search Settings
2820
search:
2921
max_results: 10 # Maximum number of search results
@@ -49,11 +41,6 @@ prompts:
4941
logging:
5042
config_file: "logging_config.yaml" # Logging configuration file path
5143

52-
# Benchmark Settings
53-
benchmark:
54-
save_logs_per_question: false # Save logs for each question to separate files
55-
logs_dir: "benchmark_logs" # Directory for saving benchmark logs
56-
5744
mcp:
5845

5946
# Limit on the result of MCP tool invocation.

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ dependencies = [
4444
# Web scraping and content extraction - веб-скрапинг и извлечение контента
4545
"trafilatura>=1.6.0",
4646
"youtube-transcript-api>=0.6.0",
47-
"beautifulsoup4>=4.12.0", # для парсинга Confluence HTML
4847
# Configuration and utilities - конфигурация и утилиты
4948
"PyYAML>=6.0",
5049
"envyaml>=1.10.0",
@@ -53,9 +52,6 @@ dependencies = [
5352
"fastapi>=0.116.1",
5453
"uvicorn>=0.35.0",
5554
"lxml<6",
56-
"bs4>=0.0.2",
57-
"pandas>=2.3.3",
58-
"openpyxl>=3.1.5",
5955
"fastmcp>=2.12.4",
6056
"jambo>=0.1.3.post2",
6157
]

sgr_deep_research/core/tools/base.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,7 @@ class FinalAnswerTool(BaseTool):
123123
"""Finalize research task and complete agent execution after all steps are
124124
completed.
125125
126-
Usage: Call after you complite research task
127-
128-
CRITICAL FOR FACTUAL ACCURACY:
129-
- For questions with dates/numbers/versions: provide EXACT values only
130-
- Double-check day/month/year precision before finalizing
131-
- If sources conflict on factual details, search again or indicate uncertainty
132-
- Never approximate or round dates/numbers (October 21 ≠ October 22, 6.88b ≠ 6.88c)
126+
Usage: Call after you complete research task
133127
"""
134128

135129
reasoning: str = Field(description="Why task is now complete and how answer was verified")
@@ -219,11 +213,11 @@ def _create_discriminant_tool(cls, tool_class: Type[T]) -> Type[BaseModel]:
219213
"""Create discriminant version of tool with tool_name as instance
220214
field."""
221215

222-
return create_model(
216+
return create_model( # noqa
223217
f"D_{tool_class.__name__}",
224218
__base__=(tool_class, DiscriminantToolMixin), # the order matters here
225219
tool_name_discriminator=(Literal[tool_class.tool_name], Field(..., description="Tool name discriminator")),
226-
) # noqa
220+
)
227221

228222
@classmethod
229223
def _create_tool_types_union(cls, tools_list: list[Type[T]]) -> Type:

sgr_deep_research/core/tools/confluence.py

Lines changed: 0 additions & 286 deletions
This file was deleted.

0 commit comments

Comments
 (0)