Commit 2ac6434
committed
fix: add ANTHROPIC/AZURE cases to validator + remove unused original_message param
- clients/anthropic/chat_models.py: add VendorType.ANTHROPIC and
VendorType.AZURE cases to setup_api_flavor_and_version validator so the
class can be constructed with all supported vendor types without raising
- clients/normalized/chat_models.py: remove the now-unused original_message
parameter from _generate_chunk and update both call sites in
_uipath_stream and _uipath_astream1 parent 0de9716 commit 2ac6434
2 files changed
Lines changed: 8 additions & 8 deletions
File tree
- packages/uipath_langchain_client/src/uipath_langchain_client/clients
- anthropic
- normalized
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
53 | 57 | | |
54 | | - | |
55 | | - | |
56 | | - | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
332 | | - | |
333 | | - | |
| 331 | + | |
334 | 332 | | |
335 | 333 | | |
336 | 334 | | |
| |||
406 | 404 | | |
407 | 405 | | |
408 | 406 | | |
409 | | - | |
| 407 | + | |
410 | 408 | | |
411 | 409 | | |
412 | 410 | | |
| |||
429 | 427 | | |
430 | 428 | | |
431 | 429 | | |
432 | | - | |
| 430 | + | |
0 commit comments