Skip to content

Commit b72c997

Browse files
authored
Fix/code review bugs (#53)
1 parent 297e4ae commit b72c997

44 files changed

Lines changed: 2100 additions & 571 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ Follow the existing format — newest version first, grouped by date:
100100
Before every commit and before opening a PR, always run:
101101

102102
```bash
103-
ruff check && ruff format --check && pytest tests
103+
ruff check && ruff format . && pyright && pytest tests
104104
```
105105

106-
All three must pass. Fix any lint, format, or test failures before committing. This applies when working as an AI assistant too — run the checks, fix failures, then commit and push.
106+
All four must pass. Fix any lint, format, type, or test failures before committing. This applies when working as an AI assistant too — run the checks, fix failures, then commit and push.
107107

108108
---
109109

CHANGELOG.md

Lines changed: 33 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,32 @@
22

33
All notable changes to `uipath_llm_client` (core package) will be documented in this file.
44

5+
## [1.6.0] - 2026-04-03
6+
7+
### Fixed
8+
- Set `api_flavor` to `None` for ANTHROPIC and AZURE vendor types
9+
- Add ANTHROPIC/AZURE cases to validator and remove unused `original_message` parameter
10+
- Fix VertexAI `default_headers` consistency and demo import path
11+
- Fix LLMGateway singleton cache key to include `base_url`
12+
513
## [1.5.10] - 2026-03-26
614

715
### Changed
816
- Removed `X-UiPath-LLMGateway-AllowFull4xxResponse` from default request headers to avoid PII leakage in logs
917

1018
## [1.5.9] - 2026-03-26
1119

12-
### Fix
20+
### Fixed
1321
- Use `availableOperationCodes` field (instead of `operationCodes`) when validating BYOM operation codes
1422

1523
## [1.5.8] - 2026-03-26
1624

17-
### Fix
25+
### Fixed
1826
- Pass `base_url` to `OpenAI` and `AsyncOpenAI` constructors in `UiPathOpenAI` and `UiPathAsyncOpenAI` to ensure the correct endpoint is forwarded to the underlying SDK clients
1927

2028
## [1.5.7] - 2026-03-23
2129

22-
### Fix
30+
### Fixed
2331
- Added mapping api_flavor to vendor_type
2432

2533
## [1.5.6] - 2026-03-21
@@ -30,22 +38,22 @@ All notable changes to `uipath_llm_client` (core package) will be documented in
3038

3139
## [1.5.5] - 2026-03-19
3240

33-
### Fix
41+
### Fixed
3442
- Fix headers for Platform Settings
3543

3644
## [1.5.3] - 2026-03-18
3745

38-
### Fix
46+
### Fixed
3947
- Factory function fix
4048

4149
## [1.5.2] - 2026-03-18
4250

43-
### Fix
51+
### Fixed
4452
- Factory function fix
4553

4654
## [1.5.1] - 2026-03-17
4755

48-
### Fix
56+
### Fixed
4957
- Added error message for normalized embeddings on UiPath Platform (AgentHub/Orchestrator) as there is no supported endpoint
5058
- Fix endpoints for platform to remove api version
5159

@@ -67,7 +75,7 @@ All notable changes to `uipath_llm_client` (core package) will be documented in
6775
- test updates
6876
- new cassettes
6977

70-
### Fixes
78+
### Fixed
7179
- Added constants for VendorType and ApiFlavor
7280

7381
## [1.3.0] - 2026-03-10
@@ -89,41 +97,41 @@ All notable changes to `uipath_llm_client` (core package) will be documented in
8997

9098
## [1.2.2] - 2026-02-23
9199

92-
### Fix
100+
### Fixed
93101
- Fixes to discovery endpoint on LLMGW
94102

95103
## [1.2.1] - 2026-02-18
96104

97-
### Fix
98-
- TImeout fixes, change typing from int to float
105+
### Fixed
106+
- Timeout fixes, change typing from int to float
99107
- remove timeout=None from all clients -> caused overriding the default timeout set up on the UiPathHttpxClient
100108

101109
## [1.2.0] - 2026-02-18
102110

103111
### Stable release
104112

105-
### Fix
106-
- Fixed agenhub auth when token already exists
113+
### Fixed
114+
- Fixed agenthub auth when token already exists
107115

108116
## [1.1.1] - 2026-02-12
109117

110-
### Fix
118+
### Fixed
111119
- Small fixes on openai client
112120

113121
## [1.1.0] - 2026-02-11
114122

115123
### Stable release
116-
- Adeed BYOM validation for settings
124+
- Added BYOM validation for settings
117125
- Stable release
118126

119127
## [1.0.13] - 2026-02-05
120128

121-
### Fix
129+
### Fixed
122130
- Fixed headers on llmgw settings
123131

124132
## [1.0.12] - 2026-02-05
125133

126-
### Fix
134+
### Fixed
127135
- Added 295 as default llmgateway timeout to avoid problems on the backend side
128136

129137
## [1.0.11] - 2026-02-05
@@ -133,25 +141,25 @@ All notable changes to `uipath_llm_client` (core package) will be documented in
133141

134142
## [1.0.10] - 2026-02-04
135143

136-
### Type fix
144+
### Fixed
137145
- Import TypedDict from typing_extension
138146

139-
### Typing Fix
147+
### Fixed
140148
- import @override from typing_extension
141149

142150
## [1.0.8] - 2026-02-04
143151

144-
### Bug Fix
152+
### Fixed
145153
- Fixed a typing issue of Singleton
146154

147155
## [1.0.7] - 2026-02-04
148156

149-
### Fix
157+
### Fixed
150158
- Added py.typed to the package
151159

152160
## [1.0.6]
153161

154-
### Bug Fix
162+
### Fixed
155163
- Fixed model discovery on AgentHub Settings.
156164

157165
## [1.0.5] - 2026-02-03
@@ -161,7 +169,7 @@ All notable changes to `uipath_llm_client` (core package) will be documented in
161169

162170
## [1.0.4] - 2026-02-03
163171

164-
### Bug Fix
172+
### Fixed
165173
- Adjusted retry logic, now 0 means no retries, 1 means one retry
166174

167175
## [1.0.3] - 2026-02-02
@@ -171,12 +179,12 @@ All notable changes to `uipath_llm_client` (core package) will be documented in
171179

172180
## [1.0.2] - 2026-02-02
173181

174-
### Bug Fixes
182+
### Fixed
175183
- Fixed endpoints on AgentHub Settings
176184

177185
## [1.0.1] - 2026-01-30
178186

179-
### Bug Fixes
187+
### Fixed
180188
- Map 400 Bad requests on S2S to 401 Unauthorized for better readability
181189

182190
## [1.0.0] - 2026-01-30

0 commit comments

Comments
 (0)