Commit 0de9716
committed
fix: vertexai default_headers consistency + demo import path
- clients/vertexai/chat_models.py: pass dict(self.uipath_sync_client.headers)
and dict(self.uipath_async_client.headers) instead of the raw httpx.Headers
objects, matching the pattern used in clients/anthropic/chat_models.py
- demo.py: import RoutingMode from the public uipath_langchain_client.settings
API instead of the internal uipath.llm_client.settings.constants path;
merge with the existing get_default_client_settings import1 parent 7ef9dfa commit 0de9716
2 files changed
Lines changed: 3 additions & 5 deletions
File tree
- packages/uipath_langchain_client
- src/uipath_langchain_client/clients/vertexai
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments