mistralai 1.0.3__py3-none-any.whl → 1.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (230) hide show
  1. mistralai/__init__.py +4 -0
  2. mistralai/_hooks/sdkhooks.py +23 -4
  3. mistralai/_hooks/types.py +27 -9
  4. mistralai/_version.py +12 -0
  5. mistralai/agents.py +334 -164
  6. mistralai/basesdk.py +90 -5
  7. mistralai/batch.py +17 -0
  8. mistralai/chat.py +316 -166
  9. mistralai/classifiers.py +396 -0
  10. mistralai/embeddings.py +79 -55
  11. mistralai/files.py +487 -194
  12. mistralai/fim.py +206 -132
  13. mistralai/fine_tuning.py +3 -2
  14. mistralai/jobs.py +392 -263
  15. mistralai/mistral_jobs.py +733 -0
  16. mistralai/models/__init__.py +593 -50
  17. mistralai/models/agentscompletionrequest.py +70 -17
  18. mistralai/models/agentscompletionstreamrequest.py +72 -17
  19. mistralai/models/apiendpoint.py +9 -0
  20. mistralai/models/archiveftmodelout.py +15 -5
  21. mistralai/models/assistantmessage.py +22 -10
  22. mistralai/models/{modelcard.py → basemodelcard.py} +53 -14
  23. mistralai/models/batcherror.py +17 -0
  24. mistralai/models/batchjobin.py +58 -0
  25. mistralai/models/batchjobout.py +117 -0
  26. mistralai/models/batchjobsout.py +30 -0
  27. mistralai/models/batchjobstatus.py +15 -0
  28. mistralai/models/chatclassificationrequest.py +104 -0
  29. mistralai/models/chatcompletionchoice.py +13 -6
  30. mistralai/models/chatcompletionrequest.py +86 -21
  31. mistralai/models/chatcompletionresponse.py +8 -4
  32. mistralai/models/chatcompletionstreamrequest.py +88 -21
  33. mistralai/models/checkpointout.py +4 -3
  34. mistralai/models/classificationobject.py +21 -0
  35. mistralai/models/classificationrequest.py +59 -0
  36. mistralai/models/classificationresponse.py +21 -0
  37. mistralai/models/completionchunk.py +12 -5
  38. mistralai/models/completionevent.py +2 -3
  39. mistralai/models/completionresponsestreamchoice.py +22 -8
  40. mistralai/models/contentchunk.py +13 -10
  41. mistralai/models/delete_model_v1_models_model_id_deleteop.py +5 -5
  42. mistralai/models/deletefileout.py +4 -3
  43. mistralai/models/deletemodelout.py +5 -4
  44. mistralai/models/deltamessage.py +23 -11
  45. mistralai/models/detailedjobout.py +70 -12
  46. mistralai/models/embeddingrequest.py +14 -9
  47. mistralai/models/embeddingresponse.py +7 -3
  48. mistralai/models/embeddingresponsedata.py +5 -4
  49. mistralai/models/eventout.py +11 -6
  50. mistralai/models/filepurpose.py +8 -0
  51. mistralai/models/files_api_routes_delete_fileop.py +5 -5
  52. mistralai/models/files_api_routes_download_fileop.py +16 -0
  53. mistralai/models/files_api_routes_list_filesop.py +96 -0
  54. mistralai/models/files_api_routes_retrieve_fileop.py +5 -5
  55. mistralai/models/files_api_routes_upload_fileop.py +33 -14
  56. mistralai/models/fileschema.py +22 -15
  57. mistralai/models/fimcompletionrequest.py +44 -16
  58. mistralai/models/fimcompletionresponse.py +8 -4
  59. mistralai/models/fimcompletionstreamrequest.py +44 -16
  60. mistralai/models/finetuneablemodel.py +7 -1
  61. mistralai/models/ftmodelcapabilitiesout.py +6 -4
  62. mistralai/models/ftmodelcard.py +121 -0
  63. mistralai/models/ftmodelout.py +39 -9
  64. mistralai/models/function.py +5 -4
  65. mistralai/models/functioncall.py +4 -3
  66. mistralai/models/functionname.py +17 -0
  67. mistralai/models/githubrepositoryin.py +24 -7
  68. mistralai/models/githubrepositoryout.py +24 -7
  69. mistralai/models/httpvalidationerror.py +1 -3
  70. mistralai/models/imageurl.py +47 -0
  71. mistralai/models/imageurlchunk.py +38 -0
  72. mistralai/models/jobin.py +24 -7
  73. mistralai/models/jobmetadataout.py +32 -8
  74. mistralai/models/jobout.py +65 -12
  75. mistralai/models/jobs_api_routes_batch_cancel_batch_jobop.py +16 -0
  76. mistralai/models/jobs_api_routes_batch_get_batch_jobop.py +16 -0
  77. mistralai/models/jobs_api_routes_batch_get_batch_jobsop.py +95 -0
  78. mistralai/models/jobs_api_routes_fine_tuning_archive_fine_tuned_modelop.py +5 -5
  79. mistralai/models/jobs_api_routes_fine_tuning_cancel_fine_tuning_jobop.py +5 -5
  80. mistralai/models/jobs_api_routes_fine_tuning_create_fine_tuning_jobop.py +3 -2
  81. mistralai/models/jobs_api_routes_fine_tuning_get_fine_tuning_jobop.py +5 -5
  82. mistralai/models/jobs_api_routes_fine_tuning_get_fine_tuning_jobsop.py +85 -18
  83. mistralai/models/jobs_api_routes_fine_tuning_start_fine_tuning_jobop.py +5 -5
  84. mistralai/models/jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelop.py +5 -5
  85. mistralai/models/jobs_api_routes_fine_tuning_update_fine_tuned_modelop.py +10 -6
  86. mistralai/models/jobsout.py +13 -5
  87. mistralai/models/legacyjobmetadataout.py +55 -9
  88. mistralai/models/listfilesout.py +7 -3
  89. mistralai/models/metricout.py +12 -8
  90. mistralai/models/modelcapabilities.py +9 -4
  91. mistralai/models/modellist.py +21 -7
  92. mistralai/models/responseformat.py +7 -8
  93. mistralai/models/responseformats.py +8 -0
  94. mistralai/models/retrieve_model_v1_models_model_id_getop.py +25 -6
  95. mistralai/models/retrievefileout.py +25 -15
  96. mistralai/models/sampletype.py +6 -2
  97. mistralai/models/security.py +14 -5
  98. mistralai/models/source.py +3 -2
  99. mistralai/models/systemmessage.py +10 -9
  100. mistralai/models/textchunk.py +14 -5
  101. mistralai/models/tool.py +10 -9
  102. mistralai/models/toolcall.py +10 -8
  103. mistralai/models/toolchoice.py +29 -0
  104. mistralai/models/toolchoiceenum.py +7 -0
  105. mistralai/models/toolmessage.py +13 -6
  106. mistralai/models/tooltypes.py +8 -0
  107. mistralai/models/trainingfile.py +4 -4
  108. mistralai/models/trainingparameters.py +34 -8
  109. mistralai/models/trainingparametersin.py +36 -10
  110. mistralai/models/unarchiveftmodelout.py +15 -5
  111. mistralai/models/updateftmodelin.py +9 -6
  112. mistralai/models/uploadfileout.py +22 -15
  113. mistralai/models/usageinfo.py +4 -3
  114. mistralai/models/usermessage.py +42 -10
  115. mistralai/models/validationerror.py +5 -3
  116. mistralai/models/wandbintegration.py +23 -7
  117. mistralai/models/wandbintegrationout.py +23 -8
  118. mistralai/models_.py +416 -294
  119. mistralai/sdk.py +31 -19
  120. mistralai/sdkconfiguration.py +9 -11
  121. mistralai/utils/__init__.py +14 -1
  122. mistralai/utils/annotations.py +13 -2
  123. mistralai/utils/logger.py +4 -1
  124. mistralai/utils/retries.py +2 -1
  125. mistralai/utils/security.py +13 -6
  126. mistralai/utils/serializers.py +25 -0
  127. {mistralai-1.0.3.dist-info → mistralai-1.2.0.dist-info}/METADATA +171 -66
  128. mistralai-1.2.0.dist-info/RECORD +276 -0
  129. {mistralai-1.0.3.dist-info → mistralai-1.2.0.dist-info}/WHEEL +1 -1
  130. mistralai_azure/__init__.py +4 -0
  131. mistralai_azure/_hooks/sdkhooks.py +23 -4
  132. mistralai_azure/_hooks/types.py +27 -9
  133. mistralai_azure/_version.py +12 -0
  134. mistralai_azure/basesdk.py +91 -6
  135. mistralai_azure/chat.py +308 -166
  136. mistralai_azure/models/__init__.py +164 -16
  137. mistralai_azure/models/assistantmessage.py +29 -11
  138. mistralai_azure/models/chatcompletionchoice.py +15 -6
  139. mistralai_azure/models/chatcompletionrequest.py +94 -22
  140. mistralai_azure/models/chatcompletionresponse.py +8 -4
  141. mistralai_azure/models/chatcompletionstreamrequest.py +96 -22
  142. mistralai_azure/models/completionchunk.py +12 -5
  143. mistralai_azure/models/completionevent.py +2 -3
  144. mistralai_azure/models/completionresponsestreamchoice.py +19 -8
  145. mistralai_azure/models/contentchunk.py +4 -11
  146. mistralai_azure/models/deltamessage.py +30 -12
  147. mistralai_azure/models/function.py +5 -4
  148. mistralai_azure/models/functioncall.py +4 -3
  149. mistralai_azure/models/functionname.py +17 -0
  150. mistralai_azure/models/httpvalidationerror.py +1 -3
  151. mistralai_azure/models/responseformat.py +7 -8
  152. mistralai_azure/models/responseformats.py +8 -0
  153. mistralai_azure/models/security.py +13 -5
  154. mistralai_azure/models/systemmessage.py +10 -9
  155. mistralai_azure/models/textchunk.py +14 -5
  156. mistralai_azure/models/tool.py +10 -9
  157. mistralai_azure/models/toolcall.py +10 -8
  158. mistralai_azure/models/toolchoice.py +29 -0
  159. mistralai_azure/models/toolchoiceenum.py +7 -0
  160. mistralai_azure/models/toolmessage.py +20 -7
  161. mistralai_azure/models/tooltypes.py +8 -0
  162. mistralai_azure/models/usageinfo.py +4 -3
  163. mistralai_azure/models/usermessage.py +42 -10
  164. mistralai_azure/models/validationerror.py +5 -3
  165. mistralai_azure/sdkconfiguration.py +9 -11
  166. mistralai_azure/utils/__init__.py +16 -3
  167. mistralai_azure/utils/annotations.py +13 -2
  168. mistralai_azure/utils/forms.py +10 -9
  169. mistralai_azure/utils/headers.py +8 -8
  170. mistralai_azure/utils/logger.py +6 -0
  171. mistralai_azure/utils/queryparams.py +16 -14
  172. mistralai_azure/utils/retries.py +2 -1
  173. mistralai_azure/utils/security.py +12 -6
  174. mistralai_azure/utils/serializers.py +42 -8
  175. mistralai_azure/utils/url.py +13 -8
  176. mistralai_azure/utils/values.py +6 -0
  177. mistralai_gcp/__init__.py +4 -0
  178. mistralai_gcp/_hooks/sdkhooks.py +23 -4
  179. mistralai_gcp/_hooks/types.py +27 -9
  180. mistralai_gcp/_version.py +12 -0
  181. mistralai_gcp/basesdk.py +91 -6
  182. mistralai_gcp/chat.py +308 -166
  183. mistralai_gcp/fim.py +198 -132
  184. mistralai_gcp/models/__init__.py +186 -18
  185. mistralai_gcp/models/assistantmessage.py +29 -11
  186. mistralai_gcp/models/chatcompletionchoice.py +15 -6
  187. mistralai_gcp/models/chatcompletionrequest.py +91 -22
  188. mistralai_gcp/models/chatcompletionresponse.py +8 -4
  189. mistralai_gcp/models/chatcompletionstreamrequest.py +93 -22
  190. mistralai_gcp/models/completionchunk.py +12 -5
  191. mistralai_gcp/models/completionevent.py +2 -3
  192. mistralai_gcp/models/completionresponsestreamchoice.py +19 -8
  193. mistralai_gcp/models/contentchunk.py +4 -11
  194. mistralai_gcp/models/deltamessage.py +30 -12
  195. mistralai_gcp/models/fimcompletionrequest.py +51 -17
  196. mistralai_gcp/models/fimcompletionresponse.py +8 -4
  197. mistralai_gcp/models/fimcompletionstreamrequest.py +51 -17
  198. mistralai_gcp/models/function.py +5 -4
  199. mistralai_gcp/models/functioncall.py +4 -3
  200. mistralai_gcp/models/functionname.py +17 -0
  201. mistralai_gcp/models/httpvalidationerror.py +1 -3
  202. mistralai_gcp/models/responseformat.py +7 -8
  203. mistralai_gcp/models/responseformats.py +8 -0
  204. mistralai_gcp/models/security.py +13 -5
  205. mistralai_gcp/models/systemmessage.py +10 -9
  206. mistralai_gcp/models/textchunk.py +14 -5
  207. mistralai_gcp/models/tool.py +10 -9
  208. mistralai_gcp/models/toolcall.py +10 -8
  209. mistralai_gcp/models/toolchoice.py +29 -0
  210. mistralai_gcp/models/toolchoiceenum.py +7 -0
  211. mistralai_gcp/models/toolmessage.py +20 -7
  212. mistralai_gcp/models/tooltypes.py +8 -0
  213. mistralai_gcp/models/usageinfo.py +4 -3
  214. mistralai_gcp/models/usermessage.py +42 -10
  215. mistralai_gcp/models/validationerror.py +5 -3
  216. mistralai_gcp/sdk.py +6 -7
  217. mistralai_gcp/sdkconfiguration.py +9 -11
  218. mistralai_gcp/utils/__init__.py +16 -3
  219. mistralai_gcp/utils/annotations.py +13 -2
  220. mistralai_gcp/utils/forms.py +10 -9
  221. mistralai_gcp/utils/headers.py +8 -8
  222. mistralai_gcp/utils/logger.py +6 -0
  223. mistralai_gcp/utils/queryparams.py +16 -14
  224. mistralai_gcp/utils/retries.py +2 -1
  225. mistralai_gcp/utils/security.py +12 -6
  226. mistralai_gcp/utils/serializers.py +42 -8
  227. mistralai_gcp/utils/url.py +13 -8
  228. mistralai_gcp/utils/values.py +6 -0
  229. mistralai-1.0.3.dist-info/RECORD +0 -236
  230. {mistralai-1.0.3.dist-info → mistralai-1.2.0.dist-info}/LICENSE +0 -0
@@ -0,0 +1,276 @@
1
+ mistralai_azure/__init__.py,sha256=ybmMeI8Pa2HEQCdADbpyIdm3JWu8AU61HxmDupOlTws,220
2
+ mistralai_azure/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
3
+ mistralai_azure/_hooks/custom_user_agent.py,sha256=1VAY7_oknRQGL8QNO0uCRHg6r7XYlssOMTj3gzyIVyk,538
4
+ mistralai_azure/_hooks/registration.py,sha256=5BN-U92pwP5kUaN7EOso2vWrwZlLvRcU5Coccibqp20,741
5
+ mistralai_azure/_hooks/sdkhooks.py,sha256=urOhVMYX_n5KgMoNDNmGs4fsgUWoeSG6_GarhPxH-YU,2565
6
+ mistralai_azure/_hooks/types.py,sha256=ealwk4q-4oIauxj5Nyx9xmu9vX0nm4vcDALDy4qydgE,2576
7
+ mistralai_azure/_version.py,sha256=xy-G9WR4FHliLcNY_yQRTHXr2SIawBzvaUAIakk182Y,319
8
+ mistralai_azure/basesdk.py,sha256=ZtCvahXCyuWen9Jk7BC8BoeChQZCb04JAA6oG-0SOaE,11218
9
+ mistralai_azure/chat.py,sha256=02nx7whKuDcgyifAECHW_SfRwsHmIYCMQ0GmZEvOh8E,31933
10
+ mistralai_azure/httpclient.py,sha256=S_ItzEchFX-znIdHD6i5-a91H0Dn5QxpT0KhucdHBbI,2595
11
+ mistralai_azure/models/__init__.py,sha256=HDWxNFXEXr4cCDrJ_QjDGEwNlf7CrneyoCd2Hrha8GI,5172
12
+ mistralai_azure/models/assistantmessage.py,sha256=B8Q9_bgiIKne8sJzvWqiff2XehYkOBuBLWuGFKr_s1E,2115
13
+ mistralai_azure/models/chatcompletionchoice.py,sha256=-JE13p36mWnyc3zxnHLJp1Q43QVgj5QRurnZslXdJc0,935
14
+ mistralai_azure/models/chatcompletionrequest.py,sha256=FpDvRxVWmn-CknMlQgW0tJFpbTrRMNge-vNqzgq19bE,9225
15
+ mistralai_azure/models/chatcompletionresponse.py,sha256=sPmb4kih2DpE3r8Xem_HYj6o3E3i-6PyVROvm7Ysrfs,798
16
+ mistralai_azure/models/chatcompletionstreamrequest.py,sha256=Ew06jYYnJ06-WekJWdDlUiUPazaoN-nfs87qZ66AJow,8430
17
+ mistralai_azure/models/completionchunk.py,sha256=yoA0tYoyK5RChQPbEvYUi1BVmuyH-QT5IYwEYJNtsXM,877
18
+ mistralai_azure/models/completionevent.py,sha256=8wkRAMMpDFfhFSm7OEmli80lsK98Tir7R6IxW-KxeuE,405
19
+ mistralai_azure/models/completionresponsestreamchoice.py,sha256=c6BncIEgKnK4HUPCeIhLfVc3RgxXKNcxp2JrlObUu9E,1834
20
+ mistralai_azure/models/contentchunk.py,sha256=3lXlnRUBHMl2ZRiZ5DlaPU4SFh7-rLttRmbsokOgSMQ,233
21
+ mistralai_azure/models/deltamessage.py,sha256=1Mou57fy_Fppdn9SA5mewAfZtwoN9-mtX1WMcI2Qeak,1888
22
+ mistralai_azure/models/function.py,sha256=dMKaqEIbvXIQWf6NROjlVaHGOU6weso7AVCIG691ULI,473
23
+ mistralai_azure/models/functioncall.py,sha256=IZ4qiW94J282ooN4Kp96xE_jCt6q-RS3qhc0naCkl-Y,482
24
+ mistralai_azure/models/functionname.py,sha256=4rGsO-FYjvLMRGDBbdZ3cLyiiwml_voRQQ924K2_S1M,473
25
+ mistralai_azure/models/httpvalidationerror.py,sha256=tcUK2zfyCZ1TJjmvF93E9G2Ah-S2UUSpM-ZJBbR4hgc,616
26
+ mistralai_azure/models/responseformat.py,sha256=ObWSXbwECiJJ0j0Ra_Yh2kpcC0zB2IZoGk_HpWBTwtc,1051
27
+ mistralai_azure/models/responseformats.py,sha256=oeXHoVUoZrZwrz-0cm-rHj5sHygv9MpeqgdummGa8ww,488
28
+ mistralai_azure/models/sdkerror.py,sha256=kd75e3JYF2TXNgRZopcV-oGdBWoBZqRcvrwqn2fsFYs,528
29
+ mistralai_azure/models/security.py,sha256=lPLcQ1OV2SA6ZJP5_lOFWUDVuPc-L90C3N127KMWdPo,627
30
+ mistralai_azure/models/systemmessage.py,sha256=XGMROJsLI5lca94mv_zwwAWM08CMHPesVY8X0hUyMj4,678
31
+ mistralai_azure/models/textchunk.py,sha256=39mTUtsxsndRrW-B88V0OmuJeUW9evWRHvRL8XhiY7c,650
32
+ mistralai_azure/models/tool.py,sha256=Li0qpB3KgGN0mtT8lKG1N_MfOOwGvzok0ZRK_J3Us80,693
33
+ mistralai_azure/models/toolcall.py,sha256=RTTdfhcbbH6kq7L1MaQ0Z7bl7xdrE6DZxYPZaIe0lEo,778
34
+ mistralai_azure/models/toolchoice.py,sha256=etDg86Frx-VoiccMlGP_Va3Vipy4UGMa9LMUGQFY6UY,1033
35
+ mistralai_azure/models/toolchoiceenum.py,sha256=Ca4ileCwuOjfPzIXLRIxT3RkE5zR7oqV6nXU-UjW0w0,197
36
+ mistralai_azure/models/toolmessage.py,sha256=rm7anBMBis06KkNMNxZklazxLoVPBaRmKw8fGkFehZU,1694
37
+ mistralai_azure/models/tooltypes.py,sha256=AGC_JaMGWyMRJ1rCIGhLh5DWbyohdiQkEeKoW5a97Ro,250
38
+ mistralai_azure/models/usageinfo.py,sha256=jG6lRE1t4wDqD4Cote82IFLQtWA_eJmTwP66TI8botg,407
39
+ mistralai_azure/models/usermessage.py,sha256=1nU5Hc6Mv3STaopLTcIwNMUACRbJh6kACURtBD11TYI,1695
40
+ mistralai_azure/models/validationerror.py,sha256=du2NEF6bMVx_b10g741vkbUE1RIQnO4y4xnukvAsbAY,464
41
+ mistralai_azure/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
42
+ mistralai_azure/sdk.py,sha256=ZVPE9lFzswEMlHw_kiG_j5vzoJ5BwEYlVLCYGmYDjpA,3936
43
+ mistralai_azure/sdkconfiguration.py,sha256=BKiDmt_eYtFno8qvvolwJrN5q75XCfu_vONVMwPieWI,1706
44
+ mistralai_azure/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
45
+ mistralai_azure/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
46
+ mistralai_azure/utils/__init__.py,sha256=1x4KfQf2ULtO_aOk_M2RMCimoz8jgcW0RZd-f34KDAs,2365
47
+ mistralai_azure/utils/annotations.py,sha256=KFt29x1HavmpmtFN8OGNxTje0gGb3ZTnGi1BcFXIdPc,861
48
+ mistralai_azure/utils/enums.py,sha256=VzjeslROrAr2luZOTJlvu-4UlxgTaGOKlRYtJJ7IfyY,1006
49
+ mistralai_azure/utils/eventstreaming.py,sha256=klSQ0FURc-hqYz1si1EG92VCFhfaxyBo_xP2mX3BBWo,4917
50
+ mistralai_azure/utils/forms.py,sha256=L-y62DiD0FXnq7WIyw8BAMbdr7sZDwhZ_3YsdviBbaA,6325
51
+ mistralai_azure/utils/headers.py,sha256=cPxWSmUILrefTGDzTH1Hdj7_Hlsj-EY6K5Tyc4iH4dk,3663
52
+ mistralai_azure/utils/logger.py,sha256=9nUtlKHo3RFsIVyMw5jq3wEKZMVwHnZMSc6xLp-otC0,520
53
+ mistralai_azure/utils/metadata.py,sha256=Per2KFXXOqOtoUWXrlIfjrSrBg199KrRW0nKQDgHIBU,3136
54
+ mistralai_azure/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlorRHEtI,5899
55
+ mistralai_azure/utils/requestbodies.py,sha256=PXmttCHm1zWGmwbrTyXYXxbeULavRWqxfD54Jx2CdJE,2084
56
+ mistralai_azure/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
57
+ mistralai_azure/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFIdYBX0,5516
58
+ mistralai_azure/utils/serializers.py,sha256=BSJT7kBOkNBFyP7KREyMoe14JGbgijD1M6AXFMbdmco,4924
59
+ mistralai_azure/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
60
+ mistralai_azure/utils/values.py,sha256=_89YXPTI_BU6SXJBzFR4pIzTCBPQW9tsOTN1jeBBIDs,3428
61
+ mistralai_gcp/__init__.py,sha256=ybmMeI8Pa2HEQCdADbpyIdm3JWu8AU61HxmDupOlTws,220
62
+ mistralai_gcp/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
63
+ mistralai_gcp/_hooks/custom_user_agent.py,sha256=1VAY7_oknRQGL8QNO0uCRHg6r7XYlssOMTj3gzyIVyk,538
64
+ mistralai_gcp/_hooks/registration.py,sha256=5BN-U92pwP5kUaN7EOso2vWrwZlLvRcU5Coccibqp20,741
65
+ mistralai_gcp/_hooks/sdkhooks.py,sha256=nr_ACx8Rn5xvTkmZP6_EI-f_0hw8wMyPqPHNvjAWAxI,2563
66
+ mistralai_gcp/_hooks/types.py,sha256=DJD5-sKZfAj0tKgSU5w0YNuJE_C8PDa5n1V27T_7SmE,2574
67
+ mistralai_gcp/_version.py,sha256=I7PJyyd46iSOwCYkLhy2IMPfVA9cjFyjtLHbN30EInI,317
68
+ mistralai_gcp/basesdk.py,sha256=cJcOSsYxfNznSOMrDlh0z06_e8HXnlIFCfIYm0yOPlc,11212
69
+ mistralai_gcp/chat.py,sha256=Z3rgkISlsDu4wMxckZnEN0k4xx55RzRGNPHIHZqBH9s,31849
70
+ mistralai_gcp/fim.py,sha256=qVr3jNIbWYXTYEZfj9GTKTAaLG2z7bGCADXTiyNiswk,25395
71
+ mistralai_gcp/httpclient.py,sha256=S_ItzEchFX-znIdHD6i5-a91H0Dn5QxpT0KhucdHBbI,2595
72
+ mistralai_gcp/models/__init__.py,sha256=UGlyP2Ef3fQH_8IiyHuc3kgD46Ykp-zBzH5TsorMd08,5994
73
+ mistralai_gcp/models/assistantmessage.py,sha256=oESoVA3BJZMPmj8ojdPi-wqb0WzXCCToHa9cO4qzAlY,2113
74
+ mistralai_gcp/models/chatcompletionchoice.py,sha256=1t3Sb_IICDH7gyyEMX-WuxHnSVV-PZTLfpUjkUVp3do,931
75
+ mistralai_gcp/models/chatcompletionrequest.py,sha256=d92uVLVJTWQqT5CUXPPmAkyAziveWNsG0QsiRsi-olU,9272
76
+ mistralai_gcp/models/chatcompletionresponse.py,sha256=Ctvqs2ZjvWTycozqXn-fvucgqOn0dm4cOjUZ2BjD4BM,796
77
+ mistralai_gcp/models/chatcompletionstreamrequest.py,sha256=ywWENXEvoYeOWe7qkQrQ2rM_UF1ZxQo58NDb6qJqF1U,8477
78
+ mistralai_gcp/models/completionchunk.py,sha256=0DBDcrqVWrUskHA3hHYtuWk2E4JcJy_zc_LiGyLHBlA,875
79
+ mistralai_gcp/models/completionevent.py,sha256=cP7Q5dN4Z46FQTlyCYeIwvqt7pgN-22jNPD2bi7Eals,403
80
+ mistralai_gcp/models/completionresponsestreamchoice.py,sha256=MdZaPMSqFbIbenEAdPyYMFemsFSZdPglEEt5ssZ3x7E,1830
81
+ mistralai_gcp/models/contentchunk.py,sha256=3lXlnRUBHMl2ZRiZ5DlaPU4SFh7-rLttRmbsokOgSMQ,233
82
+ mistralai_gcp/models/deltamessage.py,sha256=YFmrqPchctnEB-UQdr7Mmd2-UFE86SX47kOQVtYVv1U,1886
83
+ mistralai_gcp/models/fimcompletionrequest.py,sha256=ZWpkEGtRmPgdhD9KwbnaixU3O8fD-gpArkDDQb9cn40,6513
84
+ mistralai_gcp/models/fimcompletionresponse.py,sha256=zUG83S6DchgEYsSG1dkOSuoOFHvlAR62gCoN9UzF06A,794
85
+ mistralai_gcp/models/fimcompletionstreamrequest.py,sha256=osme14HgDjlJ4Pl_CARF7WQY_h4iSu1LyuiEKoa6qlM,5880
86
+ mistralai_gcp/models/function.py,sha256=5DkjJlymCiGz9GLfspaHAD8gxVXllSjySHeEhsgf3KI,471
87
+ mistralai_gcp/models/functioncall.py,sha256=NOwWgvq86cdR6o0Y0wDalczc7aDtzxQaoqDsVSTSPSU,480
88
+ mistralai_gcp/models/functionname.py,sha256=Rp4TPQA1IvhnBZx-GwBF1fFyAd6w5Ys5A84waQ9fYKg,471
89
+ mistralai_gcp/models/httpvalidationerror.py,sha256=wGmVyH_T7APhs_mCpOkumZ3x15FQ95cL-GH5M2iLst8,612
90
+ mistralai_gcp/models/responseformat.py,sha256=2FG3eNkJyeSgh7YzQ-saib43ILvSVElV42h8hIffZ1g,1049
91
+ mistralai_gcp/models/responseformats.py,sha256=oeXHoVUoZrZwrz-0cm-rHj5sHygv9MpeqgdummGa8ww,488
92
+ mistralai_gcp/models/sdkerror.py,sha256=kd75e3JYF2TXNgRZopcV-oGdBWoBZqRcvrwqn2fsFYs,528
93
+ mistralai_gcp/models/security.py,sha256=Z2MdVBo5vcSXMkFdCRHPJY-cNH9EqZYAK1Je5VGp4NU,623
94
+ mistralai_gcp/models/systemmessage.py,sha256=0OxlU6tEeKPxjCKcFOp23xNIdZdUU9oD3xzR1MTYc-k,676
95
+ mistralai_gcp/models/textchunk.py,sha256=Ni4GK43x-6L_wD5Rd1sS7yjHqh8s1m7V1S5-3aMeqB4,646
96
+ mistralai_gcp/models/tool.py,sha256=u2mQpXPj38x4CfEIbx0TwTeQx5qmkjt1wUTWTZY2dak,689
97
+ mistralai_gcp/models/toolcall.py,sha256=2qaVi_1HrjESewPBG3FdZrllVmbYwkcnBm2bnVCoVlM,774
98
+ mistralai_gcp/models/toolchoice.py,sha256=GQcyKrGg6CwJC2Wx-hBfD8giDZiFoEuRJN3ZXmnkU1Q,1029
99
+ mistralai_gcp/models/toolchoiceenum.py,sha256=Ca4ileCwuOjfPzIXLRIxT3RkE5zR7oqV6nXU-UjW0w0,197
100
+ mistralai_gcp/models/toolmessage.py,sha256=Y-k19TSbvzdZoYsd81U2lePvTtRxgsFEQ0i79TrAPhw,1692
101
+ mistralai_gcp/models/tooltypes.py,sha256=6vY1LVrp7xzXlidl1x-3SSwqdx9TBlecIeKd4sU7e6I,248
102
+ mistralai_gcp/models/usageinfo.py,sha256=Uo2LJB58JMzlrmnfMUQnDxiMCINMS63ejp-sbOq9O-Q,405
103
+ mistralai_gcp/models/usermessage.py,sha256=Wv_yQOP6K81KZZ13Jn0N4i7nM8qh3yuPO0t0pgq-JHQ,1693
104
+ mistralai_gcp/models/validationerror.py,sha256=nPH4v5nEe7Vy-l4fYft3vvfb67yhGYHhoAUFDkupEZg,462
105
+ mistralai_gcp/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
106
+ mistralai_gcp/sdk.py,sha256=WkfTdRfXdLVqJXNvQG53N8ewRQDj3w-3dGztWaxR2Og,6506
107
+ mistralai_gcp/sdkconfiguration.py,sha256=tl3dHaj9Bflp_NXy8vZUMVOyeo1FjFRccgYcJKOM0rk,1700
108
+ mistralai_gcp/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
109
+ mistralai_gcp/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
110
+ mistralai_gcp/utils/__init__.py,sha256=1x4KfQf2ULtO_aOk_M2RMCimoz8jgcW0RZd-f34KDAs,2365
111
+ mistralai_gcp/utils/annotations.py,sha256=KFt29x1HavmpmtFN8OGNxTje0gGb3ZTnGi1BcFXIdPc,861
112
+ mistralai_gcp/utils/enums.py,sha256=VzjeslROrAr2luZOTJlvu-4UlxgTaGOKlRYtJJ7IfyY,1006
113
+ mistralai_gcp/utils/eventstreaming.py,sha256=klSQ0FURc-hqYz1si1EG92VCFhfaxyBo_xP2mX3BBWo,4917
114
+ mistralai_gcp/utils/forms.py,sha256=L-y62DiD0FXnq7WIyw8BAMbdr7sZDwhZ_3YsdviBbaA,6325
115
+ mistralai_gcp/utils/headers.py,sha256=cPxWSmUILrefTGDzTH1Hdj7_Hlsj-EY6K5Tyc4iH4dk,3663
116
+ mistralai_gcp/utils/logger.py,sha256=9nUtlKHo3RFsIVyMw5jq3wEKZMVwHnZMSc6xLp-otC0,520
117
+ mistralai_gcp/utils/metadata.py,sha256=Per2KFXXOqOtoUWXrlIfjrSrBg199KrRW0nKQDgHIBU,3136
118
+ mistralai_gcp/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlorRHEtI,5899
119
+ mistralai_gcp/utils/requestbodies.py,sha256=PXmttCHm1zWGmwbrTyXYXxbeULavRWqxfD54Jx2CdJE,2084
120
+ mistralai_gcp/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
121
+ mistralai_gcp/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFIdYBX0,5516
122
+ mistralai_gcp/utils/serializers.py,sha256=BSJT7kBOkNBFyP7KREyMoe14JGbgijD1M6AXFMbdmco,4924
123
+ mistralai_gcp/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
124
+ mistralai_gcp/utils/values.py,sha256=_89YXPTI_BU6SXJBzFR4pIzTCBPQW9tsOTN1jeBBIDs,3428
125
+ py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
126
+ mistralai/__init__.py,sha256=ybmMeI8Pa2HEQCdADbpyIdm3JWu8AU61HxmDupOlTws,220
127
+ mistralai/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
128
+ mistralai/_hooks/custom_user_agent.py,sha256=Q_bKWa4cqUr7nOybJLIqdR63K3jVzdeXh101nyngFaA,543
129
+ mistralai/_hooks/deprecation_warning.py,sha256=eyEOf7-o9uqqNWJnufD2RXp3dYrGV4in9q76yLC1zog,921
130
+ mistralai/_hooks/registration.py,sha256=ML0W-XbE4WYdJ4eGks_XxF2aLCJTaIWjQATFGzFwvyU,861
131
+ mistralai/_hooks/sdkhooks.py,sha256=s-orhdvnV89TmI3QiPC2LWQtYeM9RrsG1CTll-fYZmQ,2559
132
+ mistralai/_hooks/types.py,sha256=vUkTVk_TSaK10aEj368KYWvnd4T5EsawixMcTro_UHc,2570
133
+ mistralai/_version.py,sha256=2mDc-6ys7Z2_9DG49D98FdOTezgZbeAhnySMQPuquT0,313
134
+ mistralai/agents.py,sha256=EYdKVTBsW4QeH6afr5CrWFbEL6K1wzCeZw2l5DeBdTw,28771
135
+ mistralai/async_client.py,sha256=KUdYxIIqoD6L7vB0EGwUR6lQ0NK5iCTHjnLVR9CVcJY,355
136
+ mistralai/basesdk.py,sha256=MQIeNInArcIcDYgSy67EDf77ykys9JwjTlnboqdpEJ8,11273
137
+ mistralai/batch.py,sha256=YN4D0Duwrap9Ysmp_lRpADYp1Znay7THE_z8ERGvDds,501
138
+ mistralai/chat.py,sha256=puG4bSmr3PfbDSLshK-ZSk2n-ABxcGK43Jzh6fiHMPw,32946
139
+ mistralai/classifiers.py,sha256=pHLWNynj1iiWvuRTKs5lcUNphX9Ko1eQ2Yi6wcnxu2Q,15101
140
+ mistralai/client.py,sha256=hrPg-LciKMKiascF0WbRRmqQyCv1lb2yDh6j-aaKVNo,509
141
+ mistralai/embeddings.py,sha256=S-_VG_djZ1oZOd5fQj4pYu0Y4INlgatl10dfMg5cmZw,7839
142
+ mistralai/files.py,sha256=UDUxfJMkYRn-qU1OCV0yjbBCzoCk80dpPSkEpK4RkKU,33284
143
+ mistralai/fim.py,sha256=Wa0aEKn4WL1mOxeqeDlmFnVL2KaOFEo-Drh4Nsm8Ns0,25732
144
+ mistralai/fine_tuning.py,sha256=UENQqfE054VEsAYxdruV-TBLFIFfO-joXNznH08GUvE,477
145
+ mistralai/httpclient.py,sha256=S_ItzEchFX-znIdHD6i5-a91H0Dn5QxpT0KhucdHBbI,2595
146
+ mistralai/jobs.py,sha256=0XLeyOblCdEIq6tw3zkZQG1GtdxidRNNnnpfxpH0g5E,39538
147
+ mistralai/mistral_jobs.py,sha256=M3N-A7dYNY_Zobo1xhZtq3EK0j1I8Ny7hnoYmlajeMM,26949
148
+ mistralai/models/__init__.py,sha256=0oCW3dCrphA-TGt3VeG0HY22kf3SZI7HvtNj6X8Ecc8,21139
149
+ mistralai/models/agentscompletionrequest.py,sha256=Fis7_mGFEgcnkYPeJtVl0usPu3N8ShRSF5R38vy2gaY,7264
150
+ mistralai/models/agentscompletionstreamrequest.py,sha256=J_1XCrk_n1FGodFWSk5rq6UUBc9s5ewCw_fqCGKIHGE,6685
151
+ mistralai/models/apiendpoint.py,sha256=9gAlIzzFW9XhYtsKY-wBwjjDslwl-XYQTUSBT-GuEGs,249
152
+ mistralai/models/archiveftmodelout.py,sha256=dQx1J91UA06pjk2r7okhKMyBBePmHal7SPpn6Y_wEsY,820
153
+ mistralai/models/assistantmessage.py,sha256=C_q6MFuEZafb9nP53iJdcF26jS-To_bhPKaz8lSq9T4,2084
154
+ mistralai/models/basemodelcard.py,sha256=nv-xjoZFCuIdjKBl98dVH5puT7qh0AC2MaE7WTsMxfs,2985
155
+ mistralai/models/batcherror.py,sha256=tThkO9B-g-6eDSBCm1Emd-zDI4B3mk2vAl0L1MI3pdQ,390
156
+ mistralai/models/batchjobin.py,sha256=TQ9McRkWkja8Z_krF_OxGRORdgh8thKLLs-sgstl9F4,1680
157
+ mistralai/models/batchjobout.py,sha256=AXFSgDFGY_1LFVHtVdp66y08DUZCxsZtZ_NzTAJYDWM,3067
158
+ mistralai/models/batchjobsout.py,sha256=Tq6bcb4_-fcW8C9AOnfJN8_sTy1NQhDn82qFOKdFPcg,868
159
+ mistralai/models/batchjobstatus.py,sha256=WlrIl5vWQGfLmgQA91_9CnCMKhWN6Lli458fT-4Asj4,294
160
+ mistralai/models/chatclassificationrequest.py,sha256=H750wn8R8AANF8O6ifc__bsXAmv4JEHXzcplvZ3oR_U,2966
161
+ mistralai/models/chatcompletionchoice.py,sha256=6iIFLZj2KYx0HFfzS3-E3sNXG6mPEAlDyXxIA5iZI_U,849
162
+ mistralai/models/chatcompletionrequest.py,sha256=F2EaDVrJEwAQ-DOWOnS9YAdlEvyXHLls8i9d40wm6VA,9316
163
+ mistralai/models/chatcompletionresponse.py,sha256=sLE-_Bx9W5rH2-HE2fBWPVbJbmBWx_jSY2mJ3KBEn6w,792
164
+ mistralai/models/chatcompletionstreamrequest.py,sha256=zNTndre3TjLRwfvR8EphqJjIuuJtRppx7rsDDJEWVrw,8905
165
+ mistralai/models/checkpointout.py,sha256=A2kXS8-VT_1lbg3brifVjZD6tXdsET8vLqBm2a-yXgA,1109
166
+ mistralai/models/classificationobject.py,sha256=JqaKo3AQD4t5X12ZnHjJ6K3Y6LXUn94uGdLJSoGr8vY,665
167
+ mistralai/models/classificationrequest.py,sha256=Z5vpN9KbXm6a1dvAm25vOGY4ldHhWpvqOpQbJDZBRJg,1775
168
+ mistralai/models/classificationresponse.py,sha256=TeBV7mH0nvLswPdLhv4ZaDTsXvuVYJqSe5Uci7qVSMA,649
169
+ mistralai/models/completionchunk.py,sha256=Cdq-FBWa1oBhrxapoOAj8qr6xmkeIPsfPQSbjeK6NLY,871
170
+ mistralai/models/completionevent.py,sha256=rFc5dJBRnNOzspI95Jhkjd9WyM476u48cN0T1Vh-Cxw,399
171
+ mistralai/models/completionresponsestreamchoice.py,sha256=gw5-_iOyznuimumDtBV65E3zwUW0KH1OHP55dGCAsAA,1927
172
+ mistralai/models/contentchunk.py,sha256=gzhtNmAKX_CO22axRnTn4R6021wrK2zC5gmcXroszpA,654
173
+ mistralai/models/delete_model_v1_models_model_id_deleteop.py,sha256=lnVRFX-G0jkn1dCFC89sXY2Pj_w4QfMDeF1tPjS4hWE,602
174
+ mistralai/models/deletefileout.py,sha256=s3a-H2RgFQ9HX0kYSmP6GwmwE1jghz7dBj-3G0NBVSY,587
175
+ mistralai/models/deletemodelout.py,sha256=W_crO0WtksoKUgq5s9Yh8zS8RxSuyKYQCBt1i8vB1sE,693
176
+ mistralai/models/deltamessage.py,sha256=jioyJxnplv3uK-aA_0B8Pf_ZIVlYj1hgDuSu61m79Ec,1857
177
+ mistralai/models/detailedjobout.py,sha256=5cQtC4p8bPCTo96abxsUyg8DibVRNPToRzoBEOgJROA,4939
178
+ mistralai/models/embeddingrequest.py,sha256=7zAcQxo7ejae_iYFt3i1SvxaX8YIQFiXGYLaoy_-VOU,1972
179
+ mistralai/models/embeddingresponse.py,sha256=te6E_LYEzRjHJ9QREmsFp5PeNP2J_8ALVjyb1T20pNA,663
180
+ mistralai/models/embeddingresponsedata.py,sha256=fJ3mrZqyBBBE40a6iegOJX3DVDfgyMRq23ByeGSTLFk,534
181
+ mistralai/models/eventout.py,sha256=TouRJeISBLphMTPHfgSOpuoOmbGDVohPOrdgHyExMpw,1633
182
+ mistralai/models/filepurpose.py,sha256=SPaXJpAW93EozlCU63Wtpj_KkMtjwXk41n1_ohFccQw,256
183
+ mistralai/models/files_api_routes_delete_fileop.py,sha256=HOx-hJxphSYF-JV3zOGe2eucWQUpfVqxG0IDaSa3dcE,500
184
+ mistralai/models/files_api_routes_download_fileop.py,sha256=y3sLFZ-j4eUuxCyIP0L-exy0ViqskDLkghkOccElBQQ,504
185
+ mistralai/models/files_api_routes_list_filesop.py,sha256=ztzOPSCg7VfmRDxwxnquhTpLPRbI-wJAvkASOsv2g8w,3130
186
+ mistralai/models/files_api_routes_retrieve_fileop.py,sha256=8DjSbYqUqFoPq-qcNXyVADeBVSsoCfHFlkRfmwYk-ns,504
187
+ mistralai/models/files_api_routes_upload_fileop.py,sha256=w0KC9_GxbAXdXRlws7v9xezWepcBZVI-4gRzXXSG72w,2266
188
+ mistralai/models/fileschema.py,sha256=cgHHp6H9HdIZqiFc-7BQwF5L6nzXz8aF6F7evEm-Hj4,2529
189
+ mistralai/models/fimcompletionrequest.py,sha256=Sl_RrokeC_XC81B4-ZwFvz1961koIpryOzfrGeFtWok,6484
190
+ mistralai/models/fimcompletionresponse.py,sha256=_QwzRuL3KuKkyrA4Fxp366SW0H0EzOA7f4FLkWLm-PM,790
191
+ mistralai/models/fimcompletionstreamrequest.py,sha256=buOtwz0xraey3IxIMYU2sF-LHn5SlP8WYD9qYnFCpY8,5851
192
+ mistralai/models/finetuneablemodel.py,sha256=UvVJAugrRAc6elHPa9yM2ofde77cCmCYL-SWcemCJ50,339
193
+ mistralai/models/ftmodelcapabilitiesout.py,sha256=H1kKEChUPgYT31ZQUz0tn9NRa7Z3hRZlh-sFfDYvBos,648
194
+ mistralai/models/ftmodelcard.py,sha256=G3dioHDMOhbI5HIw5gCaxZDb1sCthBzkXIAYMNHwya8,3300
195
+ mistralai/models/ftmodelout.py,sha256=dw-y8KKT_7rzW6tu10gfc1YKB8-Kpw4e4zy23z_U1d4,2530
196
+ mistralai/models/function.py,sha256=lr0wmE5PW9RyNdLp6JPcVCIzUz6iBAvRie_1eg9WVj8,467
197
+ mistralai/models/functioncall.py,sha256=VYeaxktyC4ygvZhBLz9Rt2ciwv2LRxFotjaZGnMbrZc,476
198
+ mistralai/models/functionname.py,sha256=jgd0moI9eORQtEAQI4ROiMSKpWSbCLmK6IhDn7uppKY,467
199
+ mistralai/models/githubrepositoryin.py,sha256=kHU3QnOEJsdsyAt-74jrY2ztEao3aXcNdtj7aOgASRg,1956
200
+ mistralai/models/githubrepositoryout.py,sha256=m29woSEL-vu05GU7Jva0bzzbvIykLTYUC_xSuHFVj50,1969
201
+ mistralai/models/httpvalidationerror.py,sha256=l47dL2BTqauhRn4_GdSl3TC-QWsdL98HoloMvp6vtRQ,604
202
+ mistralai/models/imageurl.py,sha256=6Fpt-8V3XYK-3u_Lw85gbMnyFWUdbNhOxjldqCvSpKs,1365
203
+ mistralai/models/imageurlchunk.py,sha256=sMN4UJFKSRlcYg0UZnW_X5ywGhpSidvxqJHmlMyhtGE,1127
204
+ mistralai/models/jobin.py,sha256=HHLWQgPv5z_EWW43O1dKzhHI8r7wl2ASEvpjkWcA8ys,4457
205
+ mistralai/models/jobmetadataout.py,sha256=wtKbig55Uheqwxp-VUr8Q3KH8eSSB0Vt067Ux7_caEo,2412
206
+ mistralai/models/jobout.py,sha256=2QZe7WfTcFTt_osjD1VLmXRLe2tfNJu8bCk_4YIjQ1A,6180
207
+ mistralai/models/jobs_api_routes_batch_cancel_batch_jobop.py,sha256=3Q-YaI2zAX550v--wedoh9XoWg2rRSVFIYOrv2SjhG8,514
208
+ mistralai/models/jobs_api_routes_batch_get_batch_jobop.py,sha256=8kCUZZZKrkDCXFtvWZVcF1XObl8QhLEajBjjfZrd12o,508
209
+ mistralai/models/jobs_api_routes_batch_get_batch_jobsop.py,sha256=p2Sf2S04SU2tkO0HluuiaWqYffmnes728NKZxEwxiZ0,3031
210
+ mistralai/models/jobs_api_routes_fine_tuning_archive_fine_tuned_modelop.py,sha256=pevOFk9Ji8iebXVadr5d882kKjrvT6_R6b8qBTYkQAU,628
211
+ mistralai/models/jobs_api_routes_fine_tuning_cancel_fine_tuning_jobop.py,sha256=Q75l-kuKesb_x7uBkQNumTVBqzD9DmeTiWpOGSmtFwk,614
212
+ mistralai/models/jobs_api_routes_fine_tuning_create_fine_tuning_jobop.py,sha256=GaXfilzcfQnGEN-uIolvOBIbQKyROwrY7tcYIRFKeek,498
213
+ mistralai/models/jobs_api_routes_fine_tuning_get_fine_tuning_jobop.py,sha256=742v4h88GSbgP2M-5J_0hyNSdtbZ9_awaEWXCL1hbAw,610
214
+ mistralai/models/jobs_api_routes_fine_tuning_get_fine_tuning_jobsop.py,sha256=WQMJ7nmQ8G2W-K0dGGUOP4cSVou_OlUwzUBWOP3EmPE,5491
215
+ mistralai/models/jobs_api_routes_fine_tuning_start_fine_tuning_jobop.py,sha256=h7d8AbRonPwHyrPDIhrrawDEeyxDqXEKtgYL-Jvg7SU,532
216
+ mistralai/models/jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelop.py,sha256=_pkyhD7OzG-59fgcajI9NmSLTLDktkCxXo_IuvWeyfs,636
217
+ mistralai/models/jobs_api_routes_fine_tuning_update_fine_tuned_modelop.py,sha256=s-EYS-Hw0NExYeIyN-3JlHbKmnTmtyB8ljVSfOylqYk,907
218
+ mistralai/models/jobsout.py,sha256=uCKt0aw7yXzI4oLDGeAAEhsRjdRg3g7lPopg0__czTA,818
219
+ mistralai/models/legacyjobmetadataout.py,sha256=08zAGNTSrICsK8u2SFFUXiNWF7MCQvezmFQeMQzxsys,4762
220
+ mistralai/models/listfilesout.py,sha256=tW2fNabLKcftc5kytkjwVaChlOzWRL4FKtNzDak9MNs,468
221
+ mistralai/models/metricout.py,sha256=dXQMMU4Nk6-Zr06Jx1TWilFi6cOwiVLjSanCFn0cPxo,2034
222
+ mistralai/models/modelcapabilities.py,sha256=No-Dl09zT1sG4MxsWnx4s8Yo1tUeMQ7k-HR_iQFIMFc,703
223
+ mistralai/models/modellist.py,sha256=uNR7bXKdsJ7IBAqTOMP2gurqIRUrGujmxf5pYwdp7wA,942
224
+ mistralai/models/responseformat.py,sha256=C_zO6X4cbT1qSS_q9Qxq64AmtfK10i9tqEz_39ZcFzo,1045
225
+ mistralai/models/responseformats.py,sha256=oeXHoVUoZrZwrz-0cm-rHj5sHygv9MpeqgdummGa8ww,488
226
+ mistralai/models/retrieve_model_v1_models_model_id_getop.py,sha256=tvwm2ldwj-_Wo3dB_YLZF5zWHnLcwH768nvjgImoLRA,1270
227
+ mistralai/models/retrievefileout.py,sha256=LfeXEjmn3xQLRzunWGW-0V_zsZIqtS6JEwQwz1s06DU,2576
228
+ mistralai/models/sampletype.py,sha256=zowUiTFxum8fltBs6j__BrFPio-dQdG0CIyLj-5icG8,316
229
+ mistralai/models/sdkerror.py,sha256=kd75e3JYF2TXNgRZopcV-oGdBWoBZqRcvrwqn2fsFYs,528
230
+ mistralai/models/security.py,sha256=RQn-xHLq3q4OEzrx9BcJMuT49UaCvwABXrqBEcqyKmA,686
231
+ mistralai/models/source.py,sha256=_MSV-LRL2fL7wCUTXEvvsOUIWlOKqPvdZS4rm2Xhs0o,264
232
+ mistralai/models/systemmessage.py,sha256=p-udUGsvM6mj960FVq-pmDXvmu43ihbQXKub-SlMrrY,672
233
+ mistralai/models/textchunk.py,sha256=_bgpR2Atnwpc4LIjERfE_htPFBypJ7o6jjEtPUurX88,665
234
+ mistralai/models/tool.py,sha256=qLY0XE3uk79v3RsJqVpA81A0K9OWtmX6rwVeKal5ARk,681
235
+ mistralai/models/toolcall.py,sha256=DYYZ4KEwwJWrN0zLJtXkCd35es8f-LVzE7kVfFe_ZkE,766
236
+ mistralai/models/toolchoice.py,sha256=dGeb5koPp9eqHQuG1u-kP7T5Od6-cPL2rEe06-dqzcs,1021
237
+ mistralai/models/toolchoiceenum.py,sha256=Ca4ileCwuOjfPzIXLRIxT3RkE5zR7oqV6nXU-UjW0w0,197
238
+ mistralai/models/toolmessage.py,sha256=witTNk7P5w7PqO5rVTHWJEbzqRXTXFd7SCokyLlZOqE,1663
239
+ mistralai/models/tooltypes.py,sha256=NcvRsZA_ORf4WY_gn6WjgX6eEXmR2faVG3Q1sLlzdG8,244
240
+ mistralai/models/trainingfile.py,sha256=IlwKP2GL8gL0VHVJ_zUDV-Q0F7obdLzMMRDDJatSjwo,400
241
+ mistralai/models/trainingparameters.py,sha256=GA7OFskn6BxHs_N6YIv0s6e1j_xmqrwcuCioqIcPZK8,2298
242
+ mistralai/models/trainingparametersin.py,sha256=tKiFYm9RUOegdRX_kka_On-mOipX5fEv1sM_7wZ2leY,4556
243
+ mistralai/models/unarchiveftmodelout.py,sha256=8sn1THvCNnZpPcw3m3avWiBHe357D_nSrp0LcFFYVsY,831
244
+ mistralai/models/updateftmodelin.py,sha256=Slabh0wwDFP8bzXWFqDzGoLh3KPnOAEyc7vttabSqX8,1466
245
+ mistralai/models/uploadfileout.py,sha256=cLMFKbAH6sEgH1G8SVgX4-C3KpIZEc6B39LGySi3XTI,2535
246
+ mistralai/models/usageinfo.py,sha256=66AzKK8cOFft498eUOUx6C_mCFAt5LmIFrYthJfLWpU,401
247
+ mistralai/models/usermessage.py,sha256=BHV6A1VQx9GwZYq0K_jHlKPnWP-SRCaje1-BKbztPGA,1689
248
+ mistralai/models/validationerror.py,sha256=obz0Yp8TU5gV3B5Auw8WOdL0ZgunetRTAJ3xVMFEXjs,458
249
+ mistralai/models/wandbintegration.py,sha256=BkLD3r08ToZkMAhPXdnC7bfOGr3banKqt1wVKMGehUQ,2406
250
+ mistralai/models/wandbintegrationout.py,sha256=C0HpS8jJGnACs7eWnuIq0qJEroIUAbjkvzfSSkSKS7Q,2274
251
+ mistralai/models_.py,sha256=Kj5U6ODBgKiKs93Miaq11dlV3MDvaz--nI8ucvZVark,39797
252
+ mistralai/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
253
+ mistralai/sdk.py,sha256=JBssVtpwLDcni_Q-IHNs62Zz8-ZxFldiOj3e42-Cb8k,5007
254
+ mistralai/sdkconfiguration.py,sha256=klmP_ccBSxSvYtRpvkGJgtdk6HP2_qwTwUuovI-vIP4,1688
255
+ mistralai/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
256
+ mistralai/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
257
+ mistralai/utils/__init__.py,sha256=8npwwHS-7zjVrbkzBGO-Uk4GkjC240PCleMbgPK1Axs,2418
258
+ mistralai/utils/annotations.py,sha256=KFt29x1HavmpmtFN8OGNxTje0gGb3ZTnGi1BcFXIdPc,861
259
+ mistralai/utils/enums.py,sha256=VzjeslROrAr2luZOTJlvu-4UlxgTaGOKlRYtJJ7IfyY,1006
260
+ mistralai/utils/eventstreaming.py,sha256=klSQ0FURc-hqYz1si1EG92VCFhfaxyBo_xP2mX3BBWo,4917
261
+ mistralai/utils/forms.py,sha256=L-y62DiD0FXnq7WIyw8BAMbdr7sZDwhZ_3YsdviBbaA,6325
262
+ mistralai/utils/headers.py,sha256=cPxWSmUILrefTGDzTH1Hdj7_Hlsj-EY6K5Tyc4iH4dk,3663
263
+ mistralai/utils/logger.py,sha256=TOF0Mqsua4GlsDhmrZz9hgMRvwd9zK7ytuqly3Vevxo,675
264
+ mistralai/utils/metadata.py,sha256=Per2KFXXOqOtoUWXrlIfjrSrBg199KrRW0nKQDgHIBU,3136
265
+ mistralai/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlorRHEtI,5899
266
+ mistralai/utils/requestbodies.py,sha256=PXmttCHm1zWGmwbrTyXYXxbeULavRWqxfD54Jx2CdJE,2084
267
+ mistralai/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
268
+ mistralai/utils/security.py,sha256=vWlpkikOnGN_HRRhJ7Pb8ywVAjiM3d3ey3oTWtM6jTU,6008
269
+ mistralai/utils/serializers.py,sha256=BSJT7kBOkNBFyP7KREyMoe14JGbgijD1M6AXFMbdmco,4924
270
+ mistralai/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
271
+ mistralai/utils/values.py,sha256=_89YXPTI_BU6SXJBzFR4pIzTCBPQW9tsOTN1jeBBIDs,3428
272
+ mistralai/version.py,sha256=iosXhlXclBwBqlADFKEilxAC2wWKbtuBKi87AmPi7s8,196
273
+ mistralai-1.2.0.dist-info/LICENSE,sha256=rUtQ_9GD0OyLPlb-2uWVdfE87hzudMRmsW-tS-0DK-0,11340
274
+ mistralai-1.2.0.dist-info/METADATA,sha256=pXGl4n99vLAB5MMcYiiXae_5wU1TZx0nM2puSZAaThM,26504
275
+ mistralai-1.2.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
276
+ mistralai-1.2.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.9.0
2
+ Generator: poetry-core 1.9.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,5 +1,9 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
+ from ._version import __title__, __version__
3
4
  from .sdk import *
4
5
  from .sdkconfiguration import *
5
6
  from .models import *
7
+
8
+
9
+ VERSION: str = __version__
@@ -1,11 +1,21 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  import httpx
4
- from .types import SDKInitHook, BeforeRequestContext, BeforeRequestHook, AfterSuccessContext, AfterSuccessHook, AfterErrorContext, AfterErrorHook, Hooks
4
+ from .types import (
5
+ SDKInitHook,
6
+ BeforeRequestContext,
7
+ BeforeRequestHook,
8
+ AfterSuccessContext,
9
+ AfterSuccessHook,
10
+ AfterErrorContext,
11
+ AfterErrorHook,
12
+ Hooks,
13
+ )
5
14
  from .registration import init_hooks
6
15
  from typing import List, Optional, Tuple
7
16
  from mistralai_azure.httpclient import HttpClient
8
17
 
18
+
9
19
  class SDKHooks(Hooks):
10
20
  def __init__(self) -> None:
11
21
  self.sdk_init_hooks: List[SDKInitHook] = []
@@ -31,7 +41,9 @@ class SDKHooks(Hooks):
31
41
  base_url, client = hook.sdk_init(base_url, client)
32
42
  return base_url, client
33
43
 
34
- def before_request(self, hook_ctx: BeforeRequestContext, request: httpx.Request) -> httpx.Request:
44
+ def before_request(
45
+ self, hook_ctx: BeforeRequestContext, request: httpx.Request
46
+ ) -> httpx.Request:
35
47
  for hook in self.before_request_hooks:
36
48
  out = hook.before_request(hook_ctx, request)
37
49
  if isinstance(out, Exception):
@@ -40,7 +52,9 @@ class SDKHooks(Hooks):
40
52
 
41
53
  return request
42
54
 
43
- def after_success(self, hook_ctx: AfterSuccessContext, response: httpx.Response) -> httpx.Response:
55
+ def after_success(
56
+ self, hook_ctx: AfterSuccessContext, response: httpx.Response
57
+ ) -> httpx.Response:
44
58
  for hook in self.after_success_hooks:
45
59
  out = hook.after_success(hook_ctx, response)
46
60
  if isinstance(out, Exception):
@@ -48,7 +62,12 @@ class SDKHooks(Hooks):
48
62
  response = out
49
63
  return response
50
64
 
51
- def after_error(self, hook_ctx: AfterErrorContext, response: Optional[httpx.Response], error: Optional[Exception]) -> Tuple[Optional[httpx.Response], Optional[Exception]]:
65
+ def after_error(
66
+ self,
67
+ hook_ctx: AfterErrorContext,
68
+ response: Optional[httpx.Response],
69
+ error: Optional[Exception],
70
+ ) -> Tuple[Optional[httpx.Response], Optional[Exception]]:
52
71
  for hook in self.after_error_hooks:
53
72
  result = hook.after_error(hook_ctx, response, error)
54
73
  if isinstance(result, Exception):
@@ -1,6 +1,5 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
-
4
3
  from abc import ABC, abstractmethod
5
4
  import httpx
6
5
  from mistralai_azure.httpclient import HttpClient
@@ -12,7 +11,12 @@ class HookContext:
12
11
  oauth2_scopes: Optional[List[str]] = None
13
12
  security_source: Optional[Union[Any, Callable[[], Any]]] = None
14
13
 
15
- def __init__(self, operation_id: str, oauth2_scopes: Optional[List[str]], security_source: Optional[Union[Any, Callable[[], Any]]]):
14
+ def __init__(
15
+ self,
16
+ operation_id: str,
17
+ oauth2_scopes: Optional[List[str]],
18
+ security_source: Optional[Union[Any, Callable[[], Any]]],
19
+ ):
16
20
  self.operation_id = operation_id
17
21
  self.oauth2_scopes = oauth2_scopes
18
22
  self.security_source = security_source
@@ -20,18 +24,23 @@ class HookContext:
20
24
 
21
25
  class BeforeRequestContext(HookContext):
22
26
  def __init__(self, hook_ctx: HookContext):
23
- super().__init__(hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source)
27
+ super().__init__(
28
+ hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source
29
+ )
24
30
 
25
31
 
26
32
  class AfterSuccessContext(HookContext):
27
33
  def __init__(self, hook_ctx: HookContext):
28
- super().__init__(hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source)
29
-
34
+ super().__init__(
35
+ hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source
36
+ )
30
37
 
31
38
 
32
39
  class AfterErrorContext(HookContext):
33
40
  def __init__(self, hook_ctx: HookContext):
34
- super().__init__(hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source)
41
+ super().__init__(
42
+ hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source
43
+ )
35
44
 
36
45
 
37
46
  class SDKInitHook(ABC):
@@ -42,19 +51,28 @@ class SDKInitHook(ABC):
42
51
 
43
52
  class BeforeRequestHook(ABC):
44
53
  @abstractmethod
45
- def before_request(self, hook_ctx: BeforeRequestContext, request: httpx.Request) -> Union[httpx.Request, Exception]:
54
+ def before_request(
55
+ self, hook_ctx: BeforeRequestContext, request: httpx.Request
56
+ ) -> Union[httpx.Request, Exception]:
46
57
  pass
47
58
 
48
59
 
49
60
  class AfterSuccessHook(ABC):
50
61
  @abstractmethod
51
- def after_success(self, hook_ctx: AfterSuccessContext, response: httpx.Response) -> Union[httpx.Response, Exception]:
62
+ def after_success(
63
+ self, hook_ctx: AfterSuccessContext, response: httpx.Response
64
+ ) -> Union[httpx.Response, Exception]:
52
65
  pass
53
66
 
54
67
 
55
68
  class AfterErrorHook(ABC):
56
69
  @abstractmethod
57
- def after_error(self, hook_ctx: AfterErrorContext, response: Optional[httpx.Response], error: Optional[Exception]) -> Union[Tuple[Optional[httpx.Response], Optional[Exception]], Exception]:
70
+ def after_error(
71
+ self,
72
+ hook_ctx: AfterErrorContext,
73
+ response: Optional[httpx.Response],
74
+ error: Optional[Exception],
75
+ ) -> Union[Tuple[Optional[httpx.Response], Optional[Exception]], Exception]:
58
76
  pass
59
77
 
60
78
 
@@ -0,0 +1,12 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ import importlib.metadata
4
+
5
+ __title__: str = "mistralai_azure"
6
+ __version__: str = "1.2.0"
7
+
8
+ try:
9
+ if __package__ is not None:
10
+ __version__ = importlib.metadata.version(__package__)
11
+ except importlib.metadata.PackageNotFoundError:
12
+ pass
@@ -3,10 +3,15 @@
3
3
  from .sdkconfiguration import SDKConfiguration
4
4
  import httpx
5
5
  from mistralai_azure import models, utils
6
- from mistralai_azure._hooks import AfterErrorContext, AfterSuccessContext, BeforeRequestContext
6
+ from mistralai_azure._hooks import (
7
+ AfterErrorContext,
8
+ AfterSuccessContext,
9
+ BeforeRequestContext,
10
+ )
7
11
  from mistralai_azure.utils import RetryConfig, SerializedRequestBody, get_body_content
8
12
  from typing import Callable, List, Optional, Tuple
9
13
 
14
+
10
15
  class BaseSDK:
11
16
  sdk_configuration: SDKConfiguration
12
17
 
@@ -24,6 +29,46 @@ class BaseSDK:
24
29
 
25
30
  return utils.template_url(base_url, url_variables)
26
31
 
32
+ def build_request_async(
33
+ self,
34
+ method,
35
+ path,
36
+ base_url,
37
+ url_variables,
38
+ request,
39
+ request_body_required,
40
+ request_has_path_params,
41
+ request_has_query_params,
42
+ user_agent_header,
43
+ accept_header_value,
44
+ _globals=None,
45
+ security=None,
46
+ timeout_ms: Optional[int] = None,
47
+ get_serialized_body: Optional[
48
+ Callable[[], Optional[SerializedRequestBody]]
49
+ ] = None,
50
+ url_override: Optional[str] = None,
51
+ ) -> httpx.Request:
52
+ client = self.sdk_configuration.async_client
53
+ return self.build_request_with_client(
54
+ client,
55
+ method,
56
+ path,
57
+ base_url,
58
+ url_variables,
59
+ request,
60
+ request_body_required,
61
+ request_has_path_params,
62
+ request_has_query_params,
63
+ user_agent_header,
64
+ accept_header_value,
65
+ _globals,
66
+ security,
67
+ timeout_ms,
68
+ get_serialized_body,
69
+ url_override,
70
+ )
71
+
27
72
  def build_request(
28
73
  self,
29
74
  method,
@@ -45,7 +90,46 @@ class BaseSDK:
45
90
  url_override: Optional[str] = None,
46
91
  ) -> httpx.Request:
47
92
  client = self.sdk_configuration.client
93
+ return self.build_request_with_client(
94
+ client,
95
+ method,
96
+ path,
97
+ base_url,
98
+ url_variables,
99
+ request,
100
+ request_body_required,
101
+ request_has_path_params,
102
+ request_has_query_params,
103
+ user_agent_header,
104
+ accept_header_value,
105
+ _globals,
106
+ security,
107
+ timeout_ms,
108
+ get_serialized_body,
109
+ url_override,
110
+ )
48
111
 
112
+ def build_request_with_client(
113
+ self,
114
+ client,
115
+ method,
116
+ path,
117
+ base_url,
118
+ url_variables,
119
+ request,
120
+ request_body_required,
121
+ request_has_path_params,
122
+ request_has_query_params,
123
+ user_agent_header,
124
+ accept_header_value,
125
+ _globals=None,
126
+ security=None,
127
+ timeout_ms: Optional[int] = None,
128
+ get_serialized_body: Optional[
129
+ Callable[[], Optional[SerializedRequestBody]]
130
+ ] = None,
131
+ url_override: Optional[str] = None,
132
+ ) -> httpx.Request:
49
133
  query_params = {}
50
134
 
51
135
  url = url_override
@@ -69,7 +153,7 @@ class BaseSDK:
69
153
  if security is not None:
70
154
  if callable(security):
71
155
  security = security()
72
-
156
+
73
157
  if security is not None:
74
158
  security_headers, security_query_params = utils.get_security(security)
75
159
  headers = {**headers, **security_headers}
@@ -129,7 +213,7 @@ class BaseSDK:
129
213
  req.method,
130
214
  req.url,
131
215
  req.headers,
132
- get_body_content(req)
216
+ get_body_content(req),
133
217
  )
134
218
  http_res = client.send(req, stream=stream)
135
219
  except Exception as e:
@@ -149,7 +233,7 @@ class BaseSDK:
149
233
  http_res.status_code,
150
234
  http_res.url,
151
235
  http_res.headers,
152
- "<streaming response>" if stream else http_res.text
236
+ "<streaming response>" if stream else http_res.text,
153
237
  )
154
238
 
155
239
  if utils.match_status_codes(error_status_codes, http_res.status_code):
@@ -189,6 +273,7 @@ class BaseSDK:
189
273
  ) -> httpx.Response:
190
274
  client = self.sdk_configuration.async_client
191
275
  logger = self.sdk_configuration.debug_logger
276
+
192
277
  async def do():
193
278
  http_res = None
194
279
  try:
@@ -200,7 +285,7 @@ class BaseSDK:
200
285
  req.method,
201
286
  req.url,
202
287
  req.headers,
203
- get_body_content(req)
288
+ get_body_content(req),
204
289
  )
205
290
  http_res = await client.send(req, stream=stream)
206
291
  except Exception as e:
@@ -220,7 +305,7 @@ class BaseSDK:
220
305
  http_res.status_code,
221
306
  http_res.url,
222
307
  http_res.headers,
223
- "<streaming response>" if stream else http_res.text
308
+ "<streaming response>" if stream else http_res.text,
224
309
  )
225
310
 
226
311
  if utils.match_status_codes(error_status_codes, http_res.status_code):