Skip to content

Conversation

@agentfarmx
Copy link
Contributor

@agentfarmx agentfarmx bot commented Mar 23, 2025

agent_instance: codestoryai_sidecar_issue_2154_a00610bc Tries to fix: #2154

🐛 Bug Fix: Added ping event handling in Anthropic API client

  • Added: Debug log statements for ping events in all three streaming methods (stream_completion, stream_prompt_completion, and stream_completion_with_tool).
  • Improved: Visibility and debuggability of ping events, which are sent by the Anthropic API to keep connections alive during streaming.

This change ensures ping events are properly logged rather than silently ignored, making it easier to test and debug connection-related issues.

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.

[agent_farm] testing ping

1 participant