다음을 통해 공유


ItemCodeInterpreterToolCall interface

코드를 실행하는 도구 호출입니다.

Extends

속성

code

코드 인터프리터가 실행할 코드입니다.

container_id

코드를 실행하는 데 사용되는 컨테이너의 ID입니다.

id

코드 인터프리터 도구 호출의 고유 ID입니다.

outputs

코드 인터프리터에서 나오는 출력입니다.

status

코드 인터프리터 도구 호출의 상태입니다. 유효한 값은 in_progress, completed, incomplete, interpreting, failed입니다.

type

코드 인터프리터 도구 호출의 형식입니다. 항상 code_interpreter_call입니다.

속성 세부 정보

code

코드 인터프리터가 실행할 코드입니다.

code?: string

속성 값

string

container_id

코드를 실행하는 데 사용되는 컨테이너의 ID입니다.

container_id: string

속성 값

string

id

코드 인터프리터 도구 호출의 고유 ID입니다.

id: string

속성 값

string

outputs

코드 인터프리터에서 나오는 출력입니다.

outputs?: (CodeInterpreterOutputLogs | CodeInterpreterOutputImage)[]

속성 값

status

코드 인터프리터 도구 호출의 상태입니다. 유효한 값은 in_progress, completed, incomplete, interpreting, failed입니다.

status: "in_progress" | "completed" | "incomplete" | "failed" | "interpreting"

속성 값

"in_progress" | "completed" | "incomplete" | "failed" | "interpreting"

type

코드 인터프리터 도구 호출의 형식입니다. 항상 code_interpreter_call입니다.

type: "code_interpreter_call"

속성 값

"code_interpreter_call"