@@ -30,10 +30,10 @@ type Run struct {
30
30
31
31
Temperature * float32 `json:"temperature,omitempty"`
32
32
// The maximum number of prompt tokens that may be used over the course of the run.
33
- // If the run exceeds the number of prompt tokens specified, the run will end with status 'complete '.
33
+ // If the run exceeds the number of prompt tokens specified, the run will end with status 'incomplete '.
34
34
MaxPromptTokens int `json:"max_prompt_tokens,omitempty"`
35
35
// The maximum number of completion tokens that may be used over the course of the run.
36
- // If the run exceeds the number of completion tokens specified, the run will end with status 'complete '.
36
+ // If the run exceeds the number of completion tokens specified, the run will end with status 'incomplete '.
37
37
MaxCompletionTokens int `json:"max_completion_tokens,omitempty"`
38
38
// ThreadTruncationStrategy defines the truncation strategy to use for the thread.
39
39
TruncationStrategy * ThreadTruncationStrategy `json:"truncation_strategy,omitempty"`
@@ -50,6 +50,7 @@ const (
50
50
RunStatusCancelling RunStatus = "cancelling"
51
51
RunStatusFailed RunStatus = "failed"
52
52
RunStatusCompleted RunStatus = "completed"
53
+ RunStatusIncomplete RunStatus = "incomplete"
53
54
RunStatusExpired RunStatus = "expired"
54
55
RunStatusCancelled RunStatus = "cancelled"
55
56
)
@@ -95,11 +96,11 @@ type RunRequest struct {
95
96
TopP * float32 `json:"top_p,omitempty"`
96
97
97
98
// The maximum number of prompt tokens that may be used over the course of the run.
98
- // If the run exceeds the number of prompt tokens specified, the run will end with status 'complete '.
99
+ // If the run exceeds the number of prompt tokens specified, the run will end with status 'incomplete '.
99
100
MaxPromptTokens int `json:"max_prompt_tokens,omitempty"`
100
101
101
102
// The maximum number of completion tokens that may be used over the course of the run.
102
- // If the run exceeds the number of completion tokens specified, the run will end with status 'complete '.
103
+ // If the run exceeds the number of completion tokens specified, the run will end with status 'incomplete '.
103
104
MaxCompletionTokens int `json:"max_completion_tokens,omitempty"`
104
105
105
106
// ThreadTruncationStrategy defines the truncation strategy to use for the thread.
0 commit comments