未验证 提交 eb634200 编写于 作者: A Adam Teuscher 提交者: GitHub

Return the response from the AI tool (#4432) (#4505)

Co-authored-by: NAdam Teuscher <adamteuscher@smartvisionworks.com>
上级 449ae0c5
......@@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Permission error occured when accessing the JobCommits (<https://github.com/openvinotoolkit/cvat/pull/4435>)
- job assignee can remove or update any issue created by the task owner (<https://github.com/openvinotoolkit/cvat/pull/4436>)
- Bug: Incorrect point deletion with keyboard shortcut (<https://github.com/openvinotoolkit/cvat/pull/4420>)
- some AI Tools were not sending responses properly (<https://github.com/openvinotoolkit/cvat/issues/4432>)
- Unable to upload annotations (<https://github.com/openvinotoolkit/cvat/pull/4513>)
### Security
......
# Copyright (C) 2021 Intel Corporation
# Copyright (C) 2022 Intel Corporation
#
# SPDX-License-Identifier: MIT
......@@ -281,8 +281,8 @@ class LambdaFunction:
item["attributes"].append(attr)
item['label'] = mapping[item['label']]
response_filtered.append(item)
return response_filtered
response = response_filtered
return response
def _get_image(self, db_task, frame, quality):
if quality is None or quality == "original":
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册