@@ -30,10 +30,10 @@ type Run struct {
3030
3131 Temperature * float32 `json:"temperature,omitempty"`
3232 // 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 '.
3434 MaxPromptTokens int `json:"max_prompt_tokens,omitempty"`
3535 // 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 '.
3737 MaxCompletionTokens int `json:"max_completion_tokens,omitempty"`
3838 // ThreadTruncationStrategy defines the truncation strategy to use for the thread.
3939 TruncationStrategy * ThreadTruncationStrategy `json:"truncation_strategy,omitempty"`
@@ -50,6 +50,7 @@ const (
5050 RunStatusCancelling RunStatus = "cancelling"
5151 RunStatusFailed RunStatus = "failed"
5252 RunStatusCompleted RunStatus = "completed"
53+ RunStatusIncomplete RunStatus = "incomplete"
5354 RunStatusExpired RunStatus = "expired"
5455 RunStatusCancelled RunStatus = "cancelled"
5556)
@@ -95,11 +96,11 @@ type RunRequest struct {
9596 TopP * float32 `json:"top_p,omitempty"`
9697
9798 // 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 '.
99100 MaxPromptTokens int `json:"max_prompt_tokens,omitempty"`
100101
101102 // 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 '.
103104 MaxCompletionTokens int `json:"max_completion_tokens,omitempty"`
104105
105106 // ThreadTruncationStrategy defines the truncation strategy to use for the thread.
0 commit comments