Skip to content

Commit 65547bf

Browse files
committed
feat(core): added correct URL for deployments
1 parent 89d8060 commit 65547bf

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

CHANGELOG.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/).
77

8+
## [2.13.1] - 2024-09-17
9+
10+
### Fixed
11+
12+
- Incorrect URL for the async methods of the Deployments API
13+
814
## [2.13.0] - 2024-08-03
915

1016
### Added
@@ -29,12 +35,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
2935

3036
- Centralize the `api_key` in the `Store` object to reuse it in all the API calls
3137

32-
33-
34-
3538
## [2.3.6] - 2024-05-10
3639

3740
### Added
3841

3942
- When `environments` property is set on the `context` the global `environment` value is overwriten.
40-

orq_ai_sdk/api_resources/async_deployments.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
from orq_ai_sdk.exceptions import handle_request_exception
55
from orq_ai_sdk.models import Store
66
from orq_ai_sdk.util import extract_json
7-
87
from orq_ai_sdk.http_client import post_async, stream_async
98

109
DEPLOYMENTS_API = "{}/v2/deployments".format(BASE_URL)
11-
12-
GET_CONFIG_URL = "{}/v2/get_config".format(DEPLOYMENTS_API)
13-
INVOKE_URL = "{}/v2/invoke".format(DEPLOYMENTS_API)
10+
GET_CONFIG_URL = "{}/get_config".format(DEPLOYMENTS_API)
11+
INVOKE_URL = "{}/invoke".format(DEPLOYMENTS_API)
1412

1513
from typing import Optional, TypedDict
1614

orq_ai_sdk/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "2.13.0"
1+
VERSION = "2.13.1"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "orq_ai_sdk"
3-
version = '2.13.0'
3+
version = '2.13.1'
44
description = "Integrate and operate your products with the power of Large Language Models from a single collaboration platform. Conduct prompt engineering, experimentation, operations and monitoring across models, with full transparency on quality and costs."
55
authors = ["orq.ai <support@orq.ai>"]
66
classifiers = [

0 commit comments

Comments
 (0)