Commit 8ad12aa
committed
fix: remove model_name from normalized API request bodies
The normalized routing layer resolves the model from the URL/connection
context — the caller does not need to send it in the JSON body.
- normalized/chat_models.py: remove 'model': self.model_name from _default_params
- normalized/embeddings.py: remove 'model': self.model_name from both
embed_documents and aembed_documents request bodies1 parent fde0672 commit 8ad12aa
2 files changed
Lines changed: 2 additions & 3 deletions
File tree
- packages/uipath_langchain_client/src/uipath_langchain_client/clients/normalized
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
159 | 158 | | |
160 | 159 | | |
161 | 160 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments