Skip to content

Commit b2457e6

Browse files
authored
Merge pull request #51 from Accenture/version/1.31.3
Update to version 1.31.3
2 parents a8d045d + 20b9a6d commit b2457e6

5 files changed

Lines changed: 9 additions & 5 deletions

File tree

air/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
try:
2727
__version__: str = _metadata.version(__package__ or "airefinery-sdk")
2828
except _metadata.PackageNotFoundError: # pragma: no cover
29-
__version__ = "1.31.2"
29+
__version__ = "1.31.3"
3030

3131
# Decide the default base url
3232
# - Default: api.airefinery.accenture.com (production K8s cluster)

air/audio/asr_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ def _cm() -> Generator[APIResponse[ASRResponse], None, None]:
691691

692692
def _event_iter(
693693
resp: requests.Response,
694-
) -> Iterator[TranscriptionStreamEvent]:
694+
) -> Iterator[str]:
695695
for raw in resp.iter_lines():
696696
line = raw.decode().strip()
697697
yield line

air/knowledge/pipeline/embed.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ def is_unauthorized_error(exception):
2222
"""
2323
Method to verify if exception is a 401 HTTP error
2424
"""
25-
return isinstance(exception, HTTPError) and exception.response.status_code == 401
25+
return (
26+
isinstance(exception, HTTPError)
27+
and exception.response is not None
28+
and exception.response.status_code == 401
29+
)
2630

2731

2832
class Embedding:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "airefinery-sdk"
7-
version = "1.31.2"
7+
version = "1.31.3"
88
description = "AI Refinery™ by Accenture SDK for developing and executing AI multi-agent solutions."
99
readme = "README.md"
1010
requires-python = ">=3.12"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from setuptools import find_packages, setup
44

5-
VERSION = "1.31.2"
5+
VERSION = "1.31.3"
66

77

88
setup(

0 commit comments

Comments
 (0)