Skip to content

Commit 049fb65

Browse files
committed
fix: add api flavor
1 parent e6e3c32 commit 049fb65

3 files changed

Lines changed: 173 additions & 176 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath-llamaindex"
3-
version = "0.1.7"
3+
version = "0.1.8"
44
description = "UiPath LlamaIndex SDK"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

src/uipath_llamaindex/llms/_openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def __init__(
4949
**kwargs: Any,
5050
):
5151
default_headers_dict = {
52-
"X-UIPATH-STREAMING-ENABLED": "false",
52+
"X-UiPath-LlmGateway-ApiFlavor": "auto",
5353
"X-UiPath-LlmGateway-RequestingProduct": "uipath-python-sdk",
5454
"X-UiPath-LlmGateway-RequestingFeature": "llama-index-agent",
5555
}

0 commit comments

Comments
 (0)