Skip to content

Commit d9e8a02

Browse files
committed
tidied up retries
1 parent 76645ca commit d9e8a02

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "chuk-tool-processor"
7-
version = "0.6.29"
7+
version = "0.7.0"
88
description = "Async-native framework for registering, discovering, and executing tools referenced in LLM responses"
99
readme = "README.md"
1010
requires-python = ">=3.11"
@@ -41,7 +41,7 @@ classifiers = [
4141
"Typing :: Typed",
4242
]
4343
dependencies = [
44-
"chuk-mcp>=0.6",
44+
"chuk-mcp>=0.7.1",
4545
"dotenv>=0.9.9",
4646
"psutil>=7.0.0",
4747
"pydantic>=2.11.3",

src/chuk_tool_processor/mcp/setup_mcp_http_streamable.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ async def setup_mcp_http_streamable(
4141
enable_rate_limiting: bool = False,
4242
global_rate_limit: int | None = None,
4343
tool_rate_limits: dict[str, tuple] | None = None,
44-
enable_retries: bool = True,
45-
max_retries: int = 3,
44+
enable_retries: bool = False, # CHANGED: Disabled to allow OAuth refresh to work properly
45+
max_retries: int = 0, # CHANGED: 0 retries for HTTP (OAuth refresh happens at transport level)
4646
namespace: str = "http",
4747
oauth_refresh_callback: any | None = None, # NEW: OAuth token refresh callback
4848
) -> tuple[ToolProcessor, StreamManager]:

src/chuk_tool_processor/mcp/setup_mcp_sse.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ async def setup_mcp_sse( # noqa: C901 - long but just a config facade
3737
enable_rate_limiting: bool = False,
3838
global_rate_limit: int | None = None,
3939
tool_rate_limits: dict[str, tuple] | None = None,
40-
enable_retries: bool = True,
41-
max_retries: int = 3,
40+
enable_retries: bool = False, # CHANGED: Disabled to allow OAuth refresh to work properly
41+
max_retries: int = 0, # CHANGED: 0 retries for SSE (OAuth refresh happens at transport level)
4242
namespace: str = "sse",
4343
oauth_refresh_callback: any | None = None, # NEW: OAuth token refresh callback
4444
) -> tuple[ToolProcessor, StreamManager]:

uv.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)