Skip to content

[Feature Request] [OpenAI] Allow activity_as_tool to execute as local_activity #1162

@kishan-paceix

Description

@kishan-paceix

Is your feature request related to a problem? Please describe.

Currently activities defined as tool cannot be executed as local activities as we use temporal_workflow.execute_activity always.

Describe the solution you'd like

Introduce additional boolean parameter (for ex as_local_activity) to activity_as_tool function and use execute_local_activity method when set to true

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions