together 2.0.0a13__tar.gz → 2.0.0a15__tar.gz

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 (281) hide show
  1. together-2.0.0a15/.release-please-manifest.json +3 -0
  2. {together-2.0.0a13 → together-2.0.0a15}/CHANGELOG.md +23 -0
  3. {together-2.0.0a13 → together-2.0.0a15}/PKG-INFO +55 -8
  4. {together-2.0.0a13 → together-2.0.0a15}/README.md +54 -7
  5. {together-2.0.0a13 → together-2.0.0a15}/api.md +47 -0
  6. {together-2.0.0a13 → together-2.0.0a15}/pyproject.toml +1 -1
  7. {together-2.0.0a13 → together-2.0.0a15}/src/together/_client.py +38 -0
  8. {together-2.0.0a13 → together-2.0.0a15}/src/together/_version.py +1 -1
  9. together-2.0.0a15/src/together/constants.py +34 -0
  10. together-2.0.0a15/src/together/error.py +16 -0
  11. together-2.0.0a15/src/together/lib/cli/api/beta/beta.py +12 -0
  12. together-2.0.0a15/src/together/lib/cli/api/beta/clusters.py +357 -0
  13. together-2.0.0a15/src/together/lib/cli/api/beta/clusters_storage.py +152 -0
  14. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/cli/api/utils.py +41 -5
  15. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/cli/cli.py +2 -0
  16. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/types/fine_tuning.py +3 -0
  17. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/__init__.py +14 -0
  18. together-2.0.0a15/src/together/resources/beta/__init__.py +33 -0
  19. together-2.0.0a15/src/together/resources/beta/beta.py +102 -0
  20. together-2.0.0a15/src/together/resources/beta/clusters/__init__.py +33 -0
  21. together-2.0.0a15/src/together/resources/beta/clusters/clusters.py +628 -0
  22. together-2.0.0a15/src/together/resources/beta/clusters/storage.py +490 -0
  23. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/__init__.py +12 -1
  24. together-2.0.0a15/src/together/types/beta/__init__.py +12 -0
  25. together-2.0.0a15/src/together/types/beta/cluster.py +93 -0
  26. together-2.0.0a15/src/together/types/beta/cluster_create_params.py +51 -0
  27. together-2.0.0a15/src/together/types/beta/cluster_create_response.py +9 -0
  28. together-2.0.0a15/src/together/types/beta/cluster_delete_response.py +9 -0
  29. together-2.0.0a15/src/together/types/beta/cluster_list_regions_response.py +21 -0
  30. together-2.0.0a15/src/together/types/beta/cluster_list_response.py +12 -0
  31. together-2.0.0a15/src/together/types/beta/cluster_update_params.py +13 -0
  32. together-2.0.0a15/src/together/types/beta/cluster_update_response.py +9 -0
  33. together-2.0.0a15/src/together/types/beta/clusters/__init__.py +10 -0
  34. together-2.0.0a15/src/together/types/beta/clusters/cluster_storage.py +13 -0
  35. together-2.0.0a15/src/together/types/beta/clusters/storage_create_params.py +17 -0
  36. together-2.0.0a15/src/together/types/beta/clusters/storage_create_response.py +9 -0
  37. together-2.0.0a15/src/together/types/beta/clusters/storage_delete_response.py +9 -0
  38. together-2.0.0a15/src/together/types/beta/clusters/storage_list_response.py +12 -0
  39. together-2.0.0a15/src/together/types/beta/clusters/storage_update_params.py +13 -0
  40. together-2.0.0a15/src/together/types/chat_completions.py +7 -0
  41. together-2.0.0a15/src/together/types/endpoints.py +4 -0
  42. together-2.0.0a15/src/together/types/files.py +8 -0
  43. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/fine_tuning_cancel_response.py +3 -0
  44. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/fine_tuning_list_response.py +3 -0
  45. together-2.0.0a15/src/together/types/finetune.py +27 -0
  46. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/finetune_response.py +2 -0
  47. together-2.0.0a15/src/together/types/models.py +2 -0
  48. together-2.0.0a15/tests/api_resources/beta/clusters/test_storage.py +371 -0
  49. together-2.0.0a15/tests/api_resources/beta/test_clusters.py +515 -0
  50. together-2.0.0a15/tests/api_resources/chat/__init__.py +1 -0
  51. together-2.0.0a15/tests/api_resources/code_interpreter/__init__.py +1 -0
  52. {together-2.0.0a13 → together-2.0.0a15}/tests/test_cli_utils.py +5 -4
  53. {together-2.0.0a13 → together-2.0.0a15}/uv.lock +1 -1
  54. together-2.0.0a13/.release-please-manifest.json +0 -3
  55. {together-2.0.0a13 → together-2.0.0a15}/.gitignore +0 -0
  56. {together-2.0.0a13 → together-2.0.0a15}/CONTRIBUTING.md +0 -0
  57. {together-2.0.0a13 → together-2.0.0a15}/LICENSE +0 -0
  58. {together-2.0.0a13 → together-2.0.0a15}/SECURITY.md +0 -0
  59. {together-2.0.0a13 → together-2.0.0a15}/bin/check-release-environment +0 -0
  60. {together-2.0.0a13 → together-2.0.0a15}/bin/publish-pypi +0 -0
  61. {together-2.0.0a13 → together-2.0.0a15}/examples/.keep +0 -0
  62. {together-2.0.0a13 → together-2.0.0a15}/examples/coqa-small.jsonl +0 -0
  63. {together-2.0.0a13 → together-2.0.0a15}/examples/coqa.jsonl +0 -0
  64. {together-2.0.0a13 → together-2.0.0a15}/examples/embedding.py +0 -0
  65. {together-2.0.0a13 → together-2.0.0a15}/examples/file-upload.py +0 -0
  66. {together-2.0.0a13 → together-2.0.0a15}/examples/files.py +0 -0
  67. {together-2.0.0a13 → together-2.0.0a15}/examples/fine_tuning.py +0 -0
  68. {together-2.0.0a13 → together-2.0.0a15}/examples/image.py +0 -0
  69. {together-2.0.0a13 → together-2.0.0a15}/examples/models.py +0 -0
  70. {together-2.0.0a13 → together-2.0.0a15}/examples/streaming.py +0 -0
  71. {together-2.0.0a13 → together-2.0.0a15}/release-please-config.json +0 -0
  72. {together-2.0.0a13 → together-2.0.0a15}/requirements-dev.lock +0 -0
  73. {together-2.0.0a13 → together-2.0.0a15}/src/together/__init__.py +0 -0
  74. {together-2.0.0a13 → together-2.0.0a15}/src/together/_base_client.py +0 -0
  75. {together-2.0.0a13 → together-2.0.0a15}/src/together/_compat.py +0 -0
  76. {together-2.0.0a13 → together-2.0.0a15}/src/together/_constants.py +0 -0
  77. {together-2.0.0a13 → together-2.0.0a15}/src/together/_exceptions.py +0 -0
  78. {together-2.0.0a13 → together-2.0.0a15}/src/together/_files.py +0 -0
  79. {together-2.0.0a13 → together-2.0.0a15}/src/together/_models.py +0 -0
  80. {together-2.0.0a13 → together-2.0.0a15}/src/together/_qs.py +0 -0
  81. {together-2.0.0a13 → together-2.0.0a15}/src/together/_resource.py +0 -0
  82. {together-2.0.0a13 → together-2.0.0a15}/src/together/_response.py +0 -0
  83. {together-2.0.0a13 → together-2.0.0a15}/src/together/_streaming.py +0 -0
  84. {together-2.0.0a13 → together-2.0.0a15}/src/together/_types.py +0 -0
  85. {together-2.0.0a13 → together-2.0.0a15}/src/together/_utils/__init__.py +0 -0
  86. {together-2.0.0a13 → together-2.0.0a15}/src/together/_utils/_compat.py +0 -0
  87. {together-2.0.0a13 → together-2.0.0a15}/src/together/_utils/_datetime_parse.py +0 -0
  88. {together-2.0.0a13 → together-2.0.0a15}/src/together/_utils/_logs.py +0 -0
  89. {together-2.0.0a13 → together-2.0.0a15}/src/together/_utils/_proxy.py +0 -0
  90. {together-2.0.0a13 → together-2.0.0a15}/src/together/_utils/_reflection.py +0 -0
  91. {together-2.0.0a13 → together-2.0.0a15}/src/together/_utils/_resources_proxy.py +0 -0
  92. {together-2.0.0a13 → together-2.0.0a15}/src/together/_utils/_streams.py +0 -0
  93. {together-2.0.0a13 → together-2.0.0a15}/src/together/_utils/_sync.py +0 -0
  94. {together-2.0.0a13 → together-2.0.0a15}/src/together/_utils/_transform.py +0 -0
  95. {together-2.0.0a13 → together-2.0.0a15}/src/together/_utils/_typing.py +0 -0
  96. {together-2.0.0a13 → together-2.0.0a15}/src/together/_utils/_utils.py +0 -0
  97. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/.keep +0 -0
  98. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/__init__.py +0 -0
  99. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/cli/__init__.py +0 -0
  100. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/cli/api/__init__.py +0 -0
  101. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/cli/api/endpoints.py +0 -0
  102. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/cli/api/evals.py +0 -0
  103. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/cli/api/files.py +0 -0
  104. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/cli/api/fine_tuning.py +0 -0
  105. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/cli/api/models.py +0 -0
  106. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/constants.py +0 -0
  107. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/resources/__init__.py +0 -0
  108. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/resources/files.py +0 -0
  109. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/resources/fine_tuning.py +0 -0
  110. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/types/__init__.py +0 -0
  111. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/types/error.py +0 -0
  112. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/utils/__init__.py +0 -0
  113. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/utils/_log.py +0 -0
  114. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/utils/files.py +0 -0
  115. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/utils/serializer.py +0 -0
  116. {together-2.0.0a13 → together-2.0.0a15}/src/together/lib/utils/tools.py +0 -0
  117. {together-2.0.0a13 → together-2.0.0a15}/src/together/py.typed +0 -0
  118. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/audio/__init__.py +0 -0
  119. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/audio/audio.py +0 -0
  120. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/audio/speech.py +0 -0
  121. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/audio/transcriptions.py +0 -0
  122. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/audio/translations.py +0 -0
  123. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/audio/voices.py +0 -0
  124. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/batches.py +0 -0
  125. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/chat/__init__.py +0 -0
  126. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/chat/chat.py +0 -0
  127. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/chat/completions.py +0 -0
  128. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/code_interpreter/__init__.py +0 -0
  129. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/code_interpreter/code_interpreter.py +0 -0
  130. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/code_interpreter/sessions.py +0 -0
  131. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/completions.py +0 -0
  132. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/embeddings.py +0 -0
  133. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/endpoints.py +0 -0
  134. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/evals.py +0 -0
  135. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/files.py +0 -0
  136. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/fine_tuning.py +0 -0
  137. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/hardware.py +0 -0
  138. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/images.py +0 -0
  139. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/jobs.py +0 -0
  140. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/models.py +0 -0
  141. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/rerank.py +0 -0
  142. {together-2.0.0a13 → together-2.0.0a15}/src/together/resources/videos.py +0 -0
  143. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/audio/__init__.py +0 -0
  144. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/audio/speech_create_params.py +0 -0
  145. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/audio/transcription_create_params.py +0 -0
  146. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/audio/transcription_create_response.py +0 -0
  147. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/audio/translation_create_params.py +0 -0
  148. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/audio/translation_create_response.py +0 -0
  149. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/audio/voice_list_response.py +0 -0
  150. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/audio_speech_stream_chunk.py +0 -0
  151. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/autoscaling.py +0 -0
  152. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/autoscaling_param.py +0 -0
  153. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/batch_create_params.py +0 -0
  154. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/batch_create_response.py +0 -0
  155. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/batch_job.py +0 -0
  156. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/batch_list_response.py +0 -0
  157. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/chat/__init__.py +0 -0
  158. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/chat/chat_completion.py +0 -0
  159. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/chat/chat_completion_chunk.py +0 -0
  160. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/chat/chat_completion_structured_message_image_url_param.py +0 -0
  161. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/chat/chat_completion_structured_message_text_param.py +0 -0
  162. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/chat/chat_completion_structured_message_video_url_param.py +0 -0
  163. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/chat/chat_completion_usage.py +0 -0
  164. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/chat/chat_completion_warning.py +0 -0
  165. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/chat/completion_create_params.py +0 -0
  166. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/code_interpreter/__init__.py +0 -0
  167. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/code_interpreter/session_list_response.py +0 -0
  168. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/code_interpreter_execute_params.py +0 -0
  169. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/completion.py +0 -0
  170. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/completion_chunk.py +0 -0
  171. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/completion_create_params.py +0 -0
  172. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/dedicated_endpoint.py +0 -0
  173. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/embedding.py +0 -0
  174. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/embedding_create_params.py +0 -0
  175. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/endpoint_create_params.py +0 -0
  176. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/endpoint_list_avzones_response.py +0 -0
  177. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/endpoint_list_params.py +0 -0
  178. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/endpoint_list_response.py +0 -0
  179. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/endpoint_update_params.py +0 -0
  180. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/eval_create_params.py +0 -0
  181. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/eval_create_response.py +0 -0
  182. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/eval_list_params.py +0 -0
  183. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/eval_list_response.py +0 -0
  184. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/eval_status_response.py +0 -0
  185. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/evaluation_job.py +0 -0
  186. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/execute_response.py +0 -0
  187. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/file_delete_response.py +0 -0
  188. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/file_list.py +0 -0
  189. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/file_purpose.py +0 -0
  190. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/file_response.py +0 -0
  191. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/file_type.py +0 -0
  192. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/fine_tuning_content_params.py +0 -0
  193. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/fine_tuning_delete_params.py +0 -0
  194. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/fine_tuning_delete_response.py +0 -0
  195. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/fine_tuning_estimate_price_params.py +0 -0
  196. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/fine_tuning_estimate_price_response.py +0 -0
  197. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/fine_tuning_list_checkpoints_response.py +0 -0
  198. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/fine_tuning_list_events_response.py +0 -0
  199. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/finetune_event.py +0 -0
  200. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/finetune_event_type.py +0 -0
  201. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/hardware_list_params.py +0 -0
  202. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/hardware_list_response.py +0 -0
  203. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/image_data_b64.py +0 -0
  204. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/image_data_url.py +0 -0
  205. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/image_file.py +0 -0
  206. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/image_generate_params.py +0 -0
  207. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/job_list_response.py +0 -0
  208. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/job_retrieve_response.py +0 -0
  209. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/log_probs.py +0 -0
  210. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/model_list_params.py +0 -0
  211. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/model_list_response.py +0 -0
  212. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/model_object.py +0 -0
  213. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/model_upload_params.py +0 -0
  214. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/model_upload_response.py +0 -0
  215. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/rerank_create_params.py +0 -0
  216. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/rerank_create_response.py +0 -0
  217. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/tool_choice.py +0 -0
  218. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/tool_choice_param.py +0 -0
  219. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/tools_param.py +0 -0
  220. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/training_method_dpo.py +0 -0
  221. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/training_method_sft.py +0 -0
  222. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/video_create_params.py +0 -0
  223. {together-2.0.0a13 → together-2.0.0a15}/src/together/types/video_job.py +0 -0
  224. {together-2.0.0a13 → together-2.0.0a15}/tests/__init__.py +0 -0
  225. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/__init__.py +0 -0
  226. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/audio/__init__.py +0 -0
  227. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/audio/test_speech.py +0 -0
  228. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/audio/test_transcriptions.py +0 -0
  229. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/audio/test_translations.py +0 -0
  230. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/audio/test_voices.py +0 -0
  231. {together-2.0.0a13/tests/api_resources/chat → together-2.0.0a15/tests/api_resources/beta}/__init__.py +0 -0
  232. {together-2.0.0a13/tests/api_resources/code_interpreter → together-2.0.0a15/tests/api_resources/beta/clusters}/__init__.py +0 -0
  233. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/chat/test_completions.py +0 -0
  234. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/code_interpreter/test_sessions.py +0 -0
  235. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/test_batches.py +0 -0
  236. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/test_code_interpreter.py +0 -0
  237. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/test_completions.py +0 -0
  238. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/test_embeddings.py +0 -0
  239. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/test_endpoints.py +0 -0
  240. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/test_evals.py +0 -0
  241. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/test_files.py +0 -0
  242. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/test_fine_tuning.py +0 -0
  243. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/test_hardware.py +0 -0
  244. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/test_images.py +0 -0
  245. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/test_jobs.py +0 -0
  246. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/test_models.py +0 -0
  247. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/test_rerank.py +0 -0
  248. {together-2.0.0a13 → together-2.0.0a15}/tests/api_resources/test_videos.py +0 -0
  249. {together-2.0.0a13 → together-2.0.0a15}/tests/conftest.py +0 -0
  250. {together-2.0.0a13 → together-2.0.0a15}/tests/integration/__init__.py +0 -0
  251. {together-2.0.0a13 → together-2.0.0a15}/tests/integration/constants.py +0 -0
  252. {together-2.0.0a13 → together-2.0.0a15}/tests/integration/resources/__init__.py +0 -0
  253. {together-2.0.0a13 → together-2.0.0a15}/tests/integration/resources/generate_hyperparameters.py +0 -0
  254. {together-2.0.0a13 → together-2.0.0a15}/tests/integration/resources/test_completion.py +0 -0
  255. {together-2.0.0a13 → together-2.0.0a15}/tests/integration/resources/test_completion_stream.py +0 -0
  256. {together-2.0.0a13 → together-2.0.0a15}/tests/integration/resources/test_files.py +0 -0
  257. {together-2.0.0a13 → together-2.0.0a15}/tests/sample_file.txt +0 -0
  258. {together-2.0.0a13 → together-2.0.0a15}/tests/test_client.py +0 -0
  259. {together-2.0.0a13 → together-2.0.0a15}/tests/test_deepcopy.py +0 -0
  260. {together-2.0.0a13 → together-2.0.0a15}/tests/test_extract_files.py +0 -0
  261. {together-2.0.0a13 → together-2.0.0a15}/tests/test_files.py +0 -0
  262. {together-2.0.0a13 → together-2.0.0a15}/tests/test_models.py +0 -0
  263. {together-2.0.0a13 → together-2.0.0a15}/tests/test_qs.py +0 -0
  264. {together-2.0.0a13 → together-2.0.0a15}/tests/test_required_args.py +0 -0
  265. {together-2.0.0a13 → together-2.0.0a15}/tests/test_response.py +0 -0
  266. {together-2.0.0a13 → together-2.0.0a15}/tests/test_streaming.py +0 -0
  267. {together-2.0.0a13 → together-2.0.0a15}/tests/test_transform.py +0 -0
  268. {together-2.0.0a13 → together-2.0.0a15}/tests/test_utils/test_datetime_parse.py +0 -0
  269. {together-2.0.0a13 → together-2.0.0a15}/tests/test_utils/test_proxy.py +0 -0
  270. {together-2.0.0a13 → together-2.0.0a15}/tests/test_utils/test_typing.py +0 -0
  271. {together-2.0.0a13 → together-2.0.0a15}/tests/unit/test_async_client.py +0 -0
  272. {together-2.0.0a13 → together-2.0.0a15}/tests/unit/test_client.py +0 -0
  273. {together-2.0.0a13 → together-2.0.0a15}/tests/unit/test_code_interpreter.py +0 -0
  274. {together-2.0.0a13 → together-2.0.0a15}/tests/unit/test_files_checks.py +0 -0
  275. {together-2.0.0a13 → together-2.0.0a15}/tests/unit/test_files_resource.py +0 -0
  276. {together-2.0.0a13 → together-2.0.0a15}/tests/unit/test_fine_tuning_resources.py +0 -0
  277. {together-2.0.0a13 → together-2.0.0a15}/tests/unit/test_imports.py +0 -0
  278. {together-2.0.0a13 → together-2.0.0a15}/tests/unit/test_multipart_upload_manager.py +0 -0
  279. {together-2.0.0a13 → together-2.0.0a15}/tests/unit/test_preference_openai.py +0 -0
  280. {together-2.0.0a13 → together-2.0.0a15}/tests/unit/test_video_url.py +0 -0
  281. {together-2.0.0a13 → together-2.0.0a15}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "2.0.0-alpha.15"
3
+ }
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.0-alpha.15 (2026-01-09)
4
+
5
+ Full Changelog: [v2.0.0-alpha.14...v2.0.0-alpha.15](https://github.com/togethercomputer/together-py/compare/v2.0.0-alpha.14...v2.0.0-alpha.15)
6
+
7
+ ### Features
8
+
9
+ * Add started_at timestamp to fix time estimation ([92ce60d](https://github.com/togethercomputer/together-py/commit/92ce60dd081700c1ef804dc7ad581a4fcf5d81a0))
10
+
11
+
12
+ ### Chores
13
+
14
+ * **api:** Remove APIs that were accidentally added in the wrong namespace ([0425f14](https://github.com/togethercomputer/together-py/commit/0425f14f7598fe3065d6f26c0ae3b577149798b0))
15
+ * Minimize breaking changes on common import paths and alias names ([#206](https://github.com/togethercomputer/together-py/issues/206)) ([e677e60](https://github.com/togethercomputer/together-py/commit/e677e6038ee662d79f9a5f0bbf5452843ea37782))
16
+ * Update README for clusters CLI commands ([aeaf53a](https://github.com/togethercomputer/together-py/commit/aeaf53a4825376d4aad59c9a70efd0b26a3e1aab))
17
+
18
+ ## 2.0.0-alpha.14 (2026-01-06)
19
+
20
+ Full Changelog: [v2.0.0-alpha.13...v2.0.0-alpha.14](https://github.com/togethercomputer/together-py/compare/v2.0.0-alpha.13...v2.0.0-alpha.14)
21
+
22
+ ### Chores
23
+
24
+ * Add Instant Clusters to OpenAPI spec ([2583943](https://github.com/togethercomputer/together-py/commit/25839431e9d7636e3cb2e1b14b8eaeeac179dda5))
25
+
3
26
  ## 2.0.0-alpha.13 (2026-01-06)
4
27
 
5
28
  Full Changelog: [v2.0.0-alpha.12...v2.0.0-alpha.13](https://github.com/togethercomputer/together-py/compare/v2.0.0-alpha.12...v2.0.0-alpha.13)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: together
3
- Version: 2.0.0a13
3
+ Version: 2.0.0a15
4
4
  Summary: The official Python library for the together API
5
5
  Project-URL: Homepage, https://github.com/togethercomputer/together-py
6
6
  Project-URL: Repository, https://github.com/togethercomputer/together-py
@@ -232,15 +232,21 @@ from together import Together
232
232
 
233
233
  client = Together()
234
234
 
235
- dedicated_endpoint = client.endpoints.create(
236
- autoscaling={
237
- "max_replicas": 5,
238
- "min_replicas": 2,
235
+ cluster = client.beta.clusters.create(
236
+ billing_type="RESERVED",
237
+ cluster_name="cluster_name",
238
+ driver_version="CUDA_12_5_555",
239
+ duration_days=0,
240
+ gpu_type="H100_SXM",
241
+ num_gpus=0,
242
+ region="us-central-8",
243
+ shared_volume={
244
+ "region": "region",
245
+ "size_tib": 0,
246
+ "volume_name": "volume_name",
239
247
  },
240
- hardware="1x_nvidia_a100_80gb_sxm",
241
- model="meta-llama/Llama-3-8b-chat-hf",
242
248
  )
243
- print(dedicated_endpoint.autoscaling)
249
+ print(cluster.shared_volume)
244
250
  ```
245
251
 
246
252
  The async client uses the exact same interface. If you pass a [`PathLike`](https://docs.python.org/3/library/os.html#os.PathLike) instance, the file contents will be read asynchronously automatically.
@@ -674,6 +680,47 @@ together models list
674
680
  together models upload --model-name my-org/my-model --model-source s3-or-hugging-face
675
681
  ```
676
682
 
683
+ ### Clusters
684
+
685
+ ```bash
686
+ # Help
687
+ together beta clusters --help
688
+
689
+ # Create a cluster
690
+ together beta clusters create
691
+
692
+ # List clusters
693
+ together beta clusters list
694
+
695
+ # Retrieve cluster details
696
+ together beta clusters retrieve [cluster-id]
697
+
698
+ # Update a cluster
699
+ together beta clusters update [cluster-id]
700
+
701
+ # Retrieve Together cluster configuration options such as regions, gpu types and drivers available
702
+ together beta clusters list-regions
703
+ ```
704
+
705
+ ##### Cluster Storage
706
+
707
+ ```bash
708
+ # Help
709
+ together beta clusters storage --help
710
+
711
+ # Create cluster storage volume
712
+ together beta clusters storage create
713
+
714
+ # List storage volumes
715
+ together beta clusters storage list
716
+
717
+ # Retrieve storage volume
718
+ together beta clusters storage retrieve [storage-id]
719
+
720
+ # Delete storage volume
721
+ together beta clusters storage delete [storage-id]
722
+ ```
723
+
677
724
  ## Contributing
678
725
 
679
726
  See [the contributing documentation](https://github.com/togethercomputer/together-py/tree/main/./CONTRIBUTING.md).
@@ -186,15 +186,21 @@ from together import Together
186
186
 
187
187
  client = Together()
188
188
 
189
- dedicated_endpoint = client.endpoints.create(
190
- autoscaling={
191
- "max_replicas": 5,
192
- "min_replicas": 2,
189
+ cluster = client.beta.clusters.create(
190
+ billing_type="RESERVED",
191
+ cluster_name="cluster_name",
192
+ driver_version="CUDA_12_5_555",
193
+ duration_days=0,
194
+ gpu_type="H100_SXM",
195
+ num_gpus=0,
196
+ region="us-central-8",
197
+ shared_volume={
198
+ "region": "region",
199
+ "size_tib": 0,
200
+ "volume_name": "volume_name",
193
201
  },
194
- hardware="1x_nvidia_a100_80gb_sxm",
195
- model="meta-llama/Llama-3-8b-chat-hf",
196
202
  )
197
- print(dedicated_endpoint.autoscaling)
203
+ print(cluster.shared_volume)
198
204
  ```
199
205
 
200
206
  The async client uses the exact same interface. If you pass a [`PathLike`](https://docs.python.org/3/library/os.html#os.PathLike) instance, the file contents will be read asynchronously automatically.
@@ -628,6 +634,47 @@ together models list
628
634
  together models upload --model-name my-org/my-model --model-source s3-or-hugging-face
629
635
  ```
630
636
 
637
+ ### Clusters
638
+
639
+ ```bash
640
+ # Help
641
+ together beta clusters --help
642
+
643
+ # Create a cluster
644
+ together beta clusters create
645
+
646
+ # List clusters
647
+ together beta clusters list
648
+
649
+ # Retrieve cluster details
650
+ together beta clusters retrieve [cluster-id]
651
+
652
+ # Update a cluster
653
+ together beta clusters update [cluster-id]
654
+
655
+ # Retrieve Together cluster configuration options such as regions, gpu types and drivers available
656
+ together beta clusters list-regions
657
+ ```
658
+
659
+ ##### Cluster Storage
660
+
661
+ ```bash
662
+ # Help
663
+ together beta clusters storage --help
664
+
665
+ # Create cluster storage volume
666
+ together beta clusters storage create
667
+
668
+ # List storage volumes
669
+ together beta clusters storage list
670
+
671
+ # Retrieve storage volume
672
+ together beta clusters storage retrieve [storage-id]
673
+
674
+ # Delete storage volume
675
+ together beta clusters storage delete [storage-id]
676
+ ```
677
+
631
678
  ## Contributing
632
679
 
633
680
  See [the contributing documentation](./CONTRIBUTING.md).
@@ -1,3 +1,50 @@
1
+ # Beta
2
+
3
+ ## Clusters
4
+
5
+ Types:
6
+
7
+ ```python
8
+ from together.types.beta import (
9
+ Cluster,
10
+ ClusterCreateResponse,
11
+ ClusterUpdateResponse,
12
+ ClusterListResponse,
13
+ ClusterDeleteResponse,
14
+ ClusterListRegionsResponse,
15
+ )
16
+ ```
17
+
18
+ Methods:
19
+
20
+ - <code title="post /clusters">client.beta.clusters.<a href="./src/together/resources/beta/clusters/clusters.py">create</a>(\*\*<a href="src/together/types/beta/cluster_create_params.py">params</a>) -> <a href="./src/together/types/beta/cluster_create_response.py">ClusterCreateResponse</a></code>
21
+ - <code title="get /clusters/{cluster_id}">client.beta.clusters.<a href="./src/together/resources/beta/clusters/clusters.py">retrieve</a>(cluster_id) -> <a href="./src/together/types/beta/cluster.py">Cluster</a></code>
22
+ - <code title="put /clusters/{cluster_id}">client.beta.clusters.<a href="./src/together/resources/beta/clusters/clusters.py">update</a>(cluster_id, \*\*<a href="src/together/types/beta/cluster_update_params.py">params</a>) -> <a href="./src/together/types/beta/cluster_update_response.py">ClusterUpdateResponse</a></code>
23
+ - <code title="get /clusters">client.beta.clusters.<a href="./src/together/resources/beta/clusters/clusters.py">list</a>() -> <a href="./src/together/types/beta/cluster_list_response.py">ClusterListResponse</a></code>
24
+ - <code title="delete /clusters/{cluster_id}">client.beta.clusters.<a href="./src/together/resources/beta/clusters/clusters.py">delete</a>(cluster_id) -> <a href="./src/together/types/beta/cluster_delete_response.py">ClusterDeleteResponse</a></code>
25
+ - <code title="get /clusters/regions">client.beta.clusters.<a href="./src/together/resources/beta/clusters/clusters.py">list_regions</a>() -> <a href="./src/together/types/beta/cluster_list_regions_response.py">ClusterListRegionsResponse</a></code>
26
+
27
+ ### Storage
28
+
29
+ Types:
30
+
31
+ ```python
32
+ from together.types.beta.clusters import (
33
+ ClusterStorage,
34
+ StorageCreateResponse,
35
+ StorageListResponse,
36
+ StorageDeleteResponse,
37
+ )
38
+ ```
39
+
40
+ Methods:
41
+
42
+ - <code title="post /clusters/storages">client.beta.clusters.storage.<a href="./src/together/resources/beta/clusters/storage.py">create</a>(\*\*<a href="src/together/types/beta/clusters/storage_create_params.py">params</a>) -> <a href="./src/together/types/beta/clusters/storage_create_response.py">StorageCreateResponse</a></code>
43
+ - <code title="get /clusters/storages/{volume_id}">client.beta.clusters.storage.<a href="./src/together/resources/beta/clusters/storage.py">retrieve</a>(volume_id) -> <a href="./src/together/types/beta/clusters/cluster_storage.py">ClusterStorage</a></code>
44
+ - <code title="put /clusters/storages">client.beta.clusters.storage.<a href="./src/together/resources/beta/clusters/storage.py">update</a>(\*\*<a href="src/together/types/beta/clusters/storage_update_params.py">params</a>) -> <a href="./src/together/types/beta/clusters/cluster_storage.py">ClusterStorage</a></code>
45
+ - <code title="get /clusters/storages">client.beta.clusters.storage.<a href="./src/together/resources/beta/clusters/storage.py">list</a>() -> <a href="./src/together/types/beta/clusters/storage_list_response.py">StorageListResponse</a></code>
46
+ - <code title="delete /clusters/storages/{volume_id}">client.beta.clusters.storage.<a href="./src/together/resources/beta/clusters/storage.py">delete</a>(volume_id) -> <a href="./src/together/types/beta/clusters/storage_delete_response.py">StorageDeleteResponse</a></code>
47
+
1
48
  # Chat
2
49
 
3
50
  ## Completions
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "together"
3
- version = "2.0.0-alpha.13"
3
+ version = "2.0.0-alpha.15"
4
4
  description = "The official Python library for the together API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -32,6 +32,7 @@ from ._base_client import (
32
32
 
33
33
  if TYPE_CHECKING:
34
34
  from .resources import (
35
+ beta,
35
36
  chat,
36
37
  jobs,
37
38
  audio,
@@ -58,6 +59,7 @@ if TYPE_CHECKING:
58
59
  from .resources.videos import VideosResource, AsyncVideosResource
59
60
  from .resources.batches import BatchesResource, AsyncBatchesResource
60
61
  from .resources.hardware import HardwareResource, AsyncHardwareResource
62
+ from .resources.beta.beta import BetaResource, AsyncBetaResource
61
63
  from .resources.chat.chat import ChatResource, AsyncChatResource
62
64
  from .resources.endpoints import EndpointsResource, AsyncEndpointsResource
63
65
  from .resources.embeddings import EmbeddingsResource, AsyncEmbeddingsResource
@@ -136,6 +138,12 @@ class Together(SyncAPIClient):
136
138
 
137
139
  self._default_stream_cls = Stream
138
140
 
141
+ @cached_property
142
+ def beta(self) -> BetaResource:
143
+ from .resources.beta import BetaResource
144
+
145
+ return BetaResource(self)
146
+
139
147
  @cached_property
140
148
  def chat(self) -> ChatResource:
141
149
  from .resources.chat import ChatResource
@@ -405,6 +413,12 @@ class AsyncTogether(AsyncAPIClient):
405
413
 
406
414
  self._default_stream_cls = AsyncStream
407
415
 
416
+ @cached_property
417
+ def beta(self) -> AsyncBetaResource:
418
+ from .resources.beta import AsyncBetaResource
419
+
420
+ return AsyncBetaResource(self)
421
+
408
422
  @cached_property
409
423
  def chat(self) -> AsyncChatResource:
410
424
  from .resources.chat import AsyncChatResource
@@ -622,6 +636,12 @@ class TogetherWithRawResponse:
622
636
  def __init__(self, client: Together) -> None:
623
637
  self._client = client
624
638
 
639
+ @cached_property
640
+ def beta(self) -> beta.BetaResourceWithRawResponse:
641
+ from .resources.beta import BetaResourceWithRawResponse
642
+
643
+ return BetaResourceWithRawResponse(self._client.beta)
644
+
625
645
  @cached_property
626
646
  def chat(self) -> chat.ChatResourceWithRawResponse:
627
647
  from .resources.chat import ChatResourceWithRawResponse
@@ -725,6 +745,12 @@ class AsyncTogetherWithRawResponse:
725
745
  def __init__(self, client: AsyncTogether) -> None:
726
746
  self._client = client
727
747
 
748
+ @cached_property
749
+ def beta(self) -> beta.AsyncBetaResourceWithRawResponse:
750
+ from .resources.beta import AsyncBetaResourceWithRawResponse
751
+
752
+ return AsyncBetaResourceWithRawResponse(self._client.beta)
753
+
728
754
  @cached_property
729
755
  def chat(self) -> chat.AsyncChatResourceWithRawResponse:
730
756
  from .resources.chat import AsyncChatResourceWithRawResponse
@@ -828,6 +854,12 @@ class TogetherWithStreamedResponse:
828
854
  def __init__(self, client: Together) -> None:
829
855
  self._client = client
830
856
 
857
+ @cached_property
858
+ def beta(self) -> beta.BetaResourceWithStreamingResponse:
859
+ from .resources.beta import BetaResourceWithStreamingResponse
860
+
861
+ return BetaResourceWithStreamingResponse(self._client.beta)
862
+
831
863
  @cached_property
832
864
  def chat(self) -> chat.ChatResourceWithStreamingResponse:
833
865
  from .resources.chat import ChatResourceWithStreamingResponse
@@ -931,6 +963,12 @@ class AsyncTogetherWithStreamedResponse:
931
963
  def __init__(self, client: AsyncTogether) -> None:
932
964
  self._client = client
933
965
 
966
+ @cached_property
967
+ def beta(self) -> beta.AsyncBetaResourceWithStreamingResponse:
968
+ from .resources.beta import AsyncBetaResourceWithStreamingResponse
969
+
970
+ return AsyncBetaResourceWithStreamingResponse(self._client.beta)
971
+
934
972
  @cached_property
935
973
  def chat(self) -> chat.AsyncChatResourceWithStreamingResponse:
936
974
  from .resources.chat import AsyncChatResourceWithStreamingResponse
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "together"
4
- __version__ = "2.0.0-alpha.13" # x-release-please-version
4
+ __version__ = "2.0.0-alpha.15" # x-release-please-version
@@ -0,0 +1,34 @@
1
+ # Manually added to minimize breaking changes from V1
2
+ from ._constants import (
3
+ MAX_RETRY_DELAY as MAX_RETRY_DELAY,
4
+ DEFAULT_MAX_RETRIES,
5
+ INITIAL_RETRY_DELAY as INITIAL_RETRY_DELAY,
6
+ )
7
+ from .lib.constants import (
8
+ MIN_SAMPLES as MIN_SAMPLES,
9
+ DISABLE_TQDM as DISABLE_TQDM,
10
+ MAX_IMAGE_BYTES as MAX_IMAGE_BYTES,
11
+ NUM_BYTES_IN_GB as NUM_BYTES_IN_GB,
12
+ MAX_FILE_SIZE_GB as MAX_FILE_SIZE_GB,
13
+ MIN_PART_SIZE_MB as MIN_PART_SIZE_MB,
14
+ DOWNLOAD_BLOCK_SIZE as DOWNLOAD_BLOCK_SIZE,
15
+ MAX_MULTIPART_PARTS as MAX_MULTIPART_PARTS,
16
+ TARGET_PART_SIZE_MB as TARGET_PART_SIZE_MB,
17
+ MAX_CONCURRENT_PARTS as MAX_CONCURRENT_PARTS,
18
+ MAX_IMAGES_PER_EXAMPLE as MAX_IMAGES_PER_EXAMPLE,
19
+ MULTIPART_THRESHOLD_GB as MULTIPART_THRESHOLD_GB,
20
+ MAX_BASE64_IMAGE_LENGTH as MAX_BASE64_IMAGE_LENGTH,
21
+ MULTIPART_UPLOAD_TIMEOUT as MULTIPART_UPLOAD_TIMEOUT,
22
+ PARQUET_EXPECTED_COLUMNS as PARQUET_EXPECTED_COLUMNS,
23
+ REQUIRED_COLUMNS_MESSAGE as REQUIRED_COLUMNS_MESSAGE,
24
+ JSONL_REQUIRED_COLUMNS_MAP as JSONL_REQUIRED_COLUMNS_MAP,
25
+ POSSIBLE_ROLES_CONVERSATION as POSSIBLE_ROLES_CONVERSATION,
26
+ DatasetFormat as DatasetFormat,
27
+ )
28
+
29
+ TIMEOUT_SECS = 600
30
+ MAX_SESSION_LIFETIME_SECS = 180
31
+ MAX_CONNECTION_RETRIES = 2
32
+ MAX_RETRIES = DEFAULT_MAX_RETRIES
33
+
34
+ BASE_URL = "https://api.together.xyz/v1"
@@ -0,0 +1,16 @@
1
+
2
+ # Manually added to minimize breaking changes from V1
3
+ from ._exceptions import (
4
+ APIError as APIError,
5
+ RateLimitError as RateLimitError,
6
+ APITimeoutError,
7
+ BadRequestError,
8
+ APIConnectionError as APIConnectionError,
9
+ AuthenticationError as AuthenticationError,
10
+ APIResponseValidationError,
11
+ )
12
+
13
+ Timeout = APITimeoutError
14
+ InvalidRequestError = BadRequestError
15
+ TogetherException = APIError
16
+ ResponseError = APIResponseValidationError
@@ -0,0 +1,12 @@
1
+ import click
2
+
3
+ from together.lib.cli.api.beta.clusters import clusters
4
+
5
+
6
+ @click.group()
7
+ def beta() -> None:
8
+ """Beta API commands"""
9
+ pass
10
+
11
+
12
+ beta.add_command(clusters)