Skip to content

Add exception catching logic to model activity - #982

Merged
tconley1428 merged 7 commits into
mainfrom
openai/retry_takeover
Jul 22, 2025
Merged

tconley1428 merged 7 commits into
mainfrom
openai/retry_takeover

Conversation

@tconley1428

@tconley1428 tconley1428 commented Jul 21, 2025 •

Copy link
Copy Markdown
Contributor

What was changed

Disable retries in the openai client layer. Add retryability handling for the model invocation.

Why?

Gives user more control of retry behavior.

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@tconley1428
tconley1428 marked this pull request as ready for review July 21, 2025 21:28
@tconley1428
tconley1428 requested a review from a team as a code owner July 21, 2025 21:28

@cretz cretz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing blocking

@tconley1428
tconley1428 merged commit fe82b07 into main Jul 22, 2025
@tconley1428
tconley1428 deleted the openai/retry_takeover branch July 22, 2025 18:22
tconley1428 added a commit that referenced this pull request Aug 28, 2025
* Add exception catching logic to model activity

* Fix timeout

* Retry after + fixes

* Linting

* Only set timeouts for default model provider
brianstrauch pushed a commit to temporalio/ai-integrations that referenced this pull request Sep 3, 2026
…#982)

* Add exception catching logic to model activity

* Fix timeout

* Retry after + fixes

* Linting

* Only set timeouts for default model provider

Migrated-From: temporalio/sdk-python@fe82b07
brianstrauch pushed a commit to temporalio/ai-integrations that referenced this pull request Sep 3, 2026
…#982)

* Add exception catching logic to model activity

* Fix timeout

* Retry after + fixes

* Linting

* Only set timeouts for default model provider

Migrated-From: temporalio/sdk-python@fe82b07
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.

2 participants