Skip to content

Commit 22ad168

Browse files
authored
Merge pull request #139 from togethercomputer/remove-evaluation-update-status
Remove evaluation update status, 400 causing build error
2 parents 9fcf98b + 1ee985d commit 22ad168

1 file changed

Lines changed: 0 additions & 73 deletions

File tree

openapi.yaml

Lines changed: 0 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -3505,79 +3505,6 @@ paths:
35053505
schema:
35063506
$ref: '#/components/schemas/ErrorData'
35073507

3508-
/evaluation/{id}/update:
3509-
post:
3510-
tags: ['Evaluations']
3511-
summary: Update evaluation job status
3512-
description: Internal callback endpoint for workflows to update job status and results
3513-
operationId: evaluation-update
3514-
parameters:
3515-
- name: id
3516-
in: path
3517-
required: true
3518-
description: The evaluation job ID
3519-
schema:
3520-
type: string
3521-
requestBody:
3522-
required: true
3523-
content:
3524-
application/json:
3525-
schema:
3526-
type: object
3527-
required:
3528-
- status
3529-
properties:
3530-
status:
3531-
type: string
3532-
enum:
3533-
[
3534-
completed,
3535-
error,
3536-
running,
3537-
queued,
3538-
user_error,
3539-
inference_error,
3540-
]
3541-
description: The new status for the job
3542-
results:
3543-
oneOf:
3544-
- $ref: '#/components/schemas/EvaluationClassifyResults'
3545-
- $ref: '#/components/schemas/EvaluationScoreResults'
3546-
- $ref: '#/components/schemas/EvaluationCompareResults'
3547-
error:
3548-
type: string
3549-
description: Error message
3550-
responses:
3551-
'200':
3552-
description: Successful response
3553-
content:
3554-
application/json:
3555-
schema:
3556-
type: object
3557-
properties:
3558-
workflow_id:
3559-
type: string
3560-
status:
3561-
type: string
3562-
'400':
3563-
description: Bad request
3564-
content:
3565-
application/json:
3566-
schema:
3567-
$ref: '#/components/schemas/ErrorData'
3568-
'404':
3569-
description: Job not found
3570-
content:
3571-
application/json:
3572-
schema:
3573-
$ref: '#/components/schemas/ErrorData'
3574-
'500':
3575-
description: Internal server error
3576-
content:
3577-
application/json:
3578-
schema:
3579-
$ref: '#/components/schemas/ErrorData'
3580-
35813508
/evaluations/model-list:
35823509
get:
35833510
tags: ['Evaluations']

0 commit comments

Comments
 (0)