From 701202979b5cbb742c8b8792a31c54b74fe5c245 Mon Sep 17 00:00:00 2001 From: Peiwen Gao <111329184+PeiwenGaoMS@users.noreply.github.com> Date: Wed, 31 Jan 2024 18:33:26 +0800 Subject: [PATCH] [Internal][Executor] Add feature for batch timeout (#1894) # Description Add feature for batch timeout # All Promptflow Contribution checklist: - [x] **The pull request does not introduce [breaking changes].** - [ ] **CHANGELOG is updated for new features, bug fixes or other significant changes.** - [x] **I have read the [contribution guidelines](../CONTRIBUTING.md).** - [ ] **Create an issue and link to the pull request to get dedicated review from promptflow team. Learn more: [suggested workflow](../CONTRIBUTING.md#suggested-workflow).** ## General Guidelines and Best Practices - [x] Title of the pull request is clear and informative. - [x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, [see this page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md). ### Testing Guidelines - [ ] Pull request includes test coverage for the included changes. --- src/promptflow/promptflow/_utils/feature_utils.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/promptflow/promptflow/_utils/feature_utils.py b/src/promptflow/promptflow/_utils/feature_utils.py index e8816771483..219578b8654 100644 --- a/src/promptflow/promptflow/_utils/feature_utils.py +++ b/src/promptflow/promptflow/_utils/feature_utils.py @@ -41,6 +41,11 @@ def get_feature_list(): description="Support environment variables in flow.dag.yaml.", state=FeatureState.READY, ), + Feature( + name="BatchTimeout", + description="Support batch timeout.", + state=FeatureState.READY, + ), ] return feature_list