Skip to content

Retry text agent calls on HTTP 500#63

Open
SomehowLiving wants to merge 1 commit into
ARTPARK-SAHAI-ORG:mainfrom
SomehowLiving:fix-agent-connection-500-retry
Open

Retry text agent calls on HTTP 500#63
SomehowLiving wants to merge 1 commit into
ARTPARK-SAHAI-ORG:mainfrom
SomehowLiving:fix-agent-connection-500-retry

Conversation

@SomehowLiving

@SomehowLiving SomehowLiving commented May 21, 2026

Copy link
Copy Markdown

Summary

  • retry TextAgentConnection.call up to 3 total attempts when the agent returns HTTP 500
  • preserve existing RuntimeError format after final failure
  • add tests for retry success, final failure, and non-500 no-retry behavior

Tests

  • pytest tests/test_connections_extra.py tests/test_connections.py -q

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