Skip to content

Update Server to always send response to invalid messages - #6

Merged
mattt merged 1 commit into
mainfrom
mattt/respond-to-errors
Mar 4, 2025
Merged

Update Server to always send response to invalid messages#6
mattt merged 1 commit into
mainfrom
mattt/respond-to-errors

Conversation

@mattt

@mattt mattt commented Mar 4, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@mattt
mattt merged commit 893614e into main Mar 4, 2025
@mattt
mattt deleted the mattt/respond-to-errors branch March 4, 2025 14:25
devyhan pushed a commit to devyhan/swift-sdk that referenced this pull request Apr 4, 2025
dcherrera added a commit to dcherrera/swift-sdk that referenced this pull request Nov 5, 2025
…om response handlers

- Removed await logger?.trace() from handleResponse() (lines 689-692)
- Removed await logger?.trace() from handleMessage() (lines 716-719)
- Removed await logger?.trace() from handleBatchResponse() (lines 762-763)

These calls were causing 10-second actor boundary crossing delays when
processing tool call responses, causing callTool() to appear to hang.

Replaced with NSLog() for immediate, non-blocking logging.

This fixes the final blocker preventing MCP tool execution from working.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant