Skip to content

Support for method activities conversion into tools - #968

Merged
tconley1428 merged 4 commits into
mainfrom
openai/method_tools
Jul 16, 2025
Merged

tconley1428 merged 4 commits into
mainfrom
openai/method_tools

Conversation

@tconley1428

@tconley1428 tconley1428 commented Jul 14, 2025 •

Copy link
Copy Markdown
Contributor

What was changed

Support for method activities conversion into tools. If a method is passed in, we use a partial function application to define the tool schema. The instance is then provided to the activity registration.

Why?

Stateful activities are often useful

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@tconley1428
tconley1428 requested a review from a team as a code owner July 14, 2025 23:24
@tconley1428
tconley1428 merged commit c37c69f into main Jul 16, 2025
@tconley1428
tconley1428 deleted the openai/method_tools branch July 16, 2025 17:56
tconley1428 added a commit that referenced this pull request Aug 28, 2025
* Support for method activities conversion into tools

* Fix test
brianstrauch pushed a commit to temporalio/ai-integrations that referenced this pull request Sep 3, 2026
…ython#968)

* Support for method activities conversion into tools

* Fix test

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

* Support for method activities conversion into tools

* Fix test

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