together 1.2.0__py3-none-any.whl → 1.2.2__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.
together/types/common.py CHANGED
@@ -15,6 +15,7 @@ class FinishReason(str, Enum):
15
15
  StopSequence = "stop"
16
16
  EOS = "eos"
17
17
  ToolCalls = "tool_calls"
18
+ Error = "error"
18
19
 
19
20
 
20
21
  class UsageData(BaseModel):
@@ -61,7 +61,7 @@ class CompletionRequest(BaseModel):
61
61
  class CompletionChoicesData(BaseModel):
62
62
  index: int
63
63
  logprobs: LogprobsPart | None = None
64
- finish_reason: FinishReason
64
+ finish_reason: FinishReason | None = None
65
65
  text: str
66
66
 
67
67
 
@@ -24,6 +24,7 @@ class FinetuneJobStatus(str, Enum):
24
24
  STATUS_CANCEL_REQUESTED = "cancel_requested"
25
25
  STATUS_CANCELLED = "cancelled"
26
26
  STATUS_ERROR = "error"
27
+ STATUS_USER_ERROR = "user_error"
27
28
  STATUS_COMPLETED = "completed"
28
29
 
29
30
 
@@ -67,6 +68,7 @@ class FinetuneEventType(str, Enum):
67
68
  MODEL_UPLOAD_COMPLETE = "MODEL_UPLOAD_COMPLETE"
68
69
  JOB_COMPLETE = "JOB_COMPLETE"
69
70
  JOB_ERROR = "JOB_ERROR"
71
+ JOB_USER_ERROR = "JOB_USER_ERROR"
70
72
  CANCEL_REQUESTED = "CANCEL_REQUESTED"
71
73
  JOB_RESTARTED = "JOB_RESTARTED"
72
74
  REFUND = "REFUND"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: together
3
- Version: 1.2.0
3
+ Version: 1.2.2
4
4
  Summary: Python client for Together's Cloud Platform!
5
5
  Home-page: https://github.com/togethercomputer/together-python
6
6
  License: Apache-2.0
@@ -35,12 +35,12 @@ together/together_response.py,sha256=MhczUCPem93cjX-A1TOAUrRj3sO-o3SLcEcTsZgVzQI
35
35
  together/types/__init__.py,sha256=K7Gv6hLmobIfqfmijZbZwFrwxK_YKIDR_v94_ElFmVA,1432
36
36
  together/types/abstract.py,sha256=1lFQI_3WjsR_t1128AeKW0aTk6EiM6Gh1J3ZuyLLPao,642
37
37
  together/types/chat_completions.py,sha256=VxuvcHM9IQVWfD1qKu6gDWdrV5UainjkV3pGm_4Oiyo,4335
38
- together/types/common.py,sha256=0evjGduXV_tStd0TkGNwvU4fDjfLGUOuUJz6Vl5KYbs,1491
39
- together/types/completions.py,sha256=qOvTqoxc5ZLGFgukVm9-Vx9UKNnBQZGuFIz7HCGHAoQ,2887
38
+ together/types/common.py,sha256=4ZeIgqGioqhIC-nNxY90czNPp-kAqboMulw6-1z6ShM,1511
39
+ together/types/completions.py,sha256=yydloTQePGaY97Lx-kbkvgCqBFhHFl7jU5s7uf9Ncg0,2901
40
40
  together/types/embeddings.py,sha256=J7grkYYn7xhqeKaBO2T-8XQRtHhkzYzymovtGdIUK5A,751
41
41
  together/types/error.py,sha256=OVlCs3cx_2WhZK4JzHT8SQyRIIqKOP1AZQ4y1PydjAE,370
42
42
  together/types/files.py,sha256=-rEUfsV6f2vZB9NrFxT4_933ubsDIUNkPB-3OlOFk4A,1954
43
- together/types/finetune.py,sha256=C5z5iaH3E_wBiW1USLfUzv3trJxCf36hYh3l55pUaME,5775
43
+ together/types/finetune.py,sha256=eK2Zv47ccvbenGv87PmNCBsqPQleiA3KxoK7KjsuYTM,5850
44
44
  together/types/images.py,sha256=zX4Vt38tFDKU6yGb_hBY_N5eSTn3KPdpP5Ce_qnRHXQ,915
45
45
  together/types/models.py,sha256=3zag9x2fus2McNmLkr3fKzQL-2RNIT1-tiabI-z21p8,1013
46
46
  together/utils/__init__.py,sha256=VpjeRTya1m5eEE-Qe1zYTFsNAvuEA-dy7M2eG9Xu4fc,662
@@ -49,8 +49,8 @@ together/utils/api_helpers.py,sha256=RSF7SRhbjHzroMOSWAXscflByM1r1ta_1SpxkAT22iE
49
49
  together/utils/files.py,sha256=gMLthqfP5hKxVAerHMdy7gLXzdfY6lyOXdpW24Y4X3I,7165
50
50
  together/utils/tools.py,sha256=3-lXWP3cBCzOVSZg9tr5zOT1jaVeKAKVWxO2fcXZTh8,1788
51
51
  together/version.py,sha256=p03ivHyE0SyWU4jAnRTBi_sOwywVWoZPU4g2gzRgG-Y,126
52
- together-1.2.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
53
- together-1.2.0.dist-info/METADATA,sha256=stIBXOH6i0IqAnq1dB8CNdO40Edf4WVNSEUqiaMfVYM,11812
54
- together-1.2.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
55
- together-1.2.0.dist-info/entry_points.txt,sha256=G-b5NKW6lUUf1V1fH8IPTBb7jXnK7lhbX9H1zTEJXPs,50
56
- together-1.2.0.dist-info/RECORD,,
52
+ together-1.2.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
53
+ together-1.2.2.dist-info/METADATA,sha256=S9B78Nc5Ge6nBVMfLDFCK9qTQPrmhXMo4BbxCyYSsoo,11812
54
+ together-1.2.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
55
+ together-1.2.2.dist-info/entry_points.txt,sha256=G-b5NKW6lUUf1V1fH8IPTBb7jXnK7lhbX9H1zTEJXPs,50
56
+ together-1.2.2.dist-info/RECORD,,