ItemCodeInterpreterToolCall interface
Wywołanie narzędzia w celu uruchomienia kodu.
- Rozszerza
Właściwości
| code | Kod wykonywany przez interpretera kodu. |
| container_id | Identyfikator kontenera używanego do uruchamiania kodu. |
| id | Unikatowy identyfikator wywołania narzędzia interpretera kodu. |
| outputs | Wyjścia z interpretera kodu. |
| status | Stan wywołania narzędzia interpretera kodu. Prawidłowe wartości to |
| type | Typ wywołania narzędzia interpretera kodu. Zawsze |
Szczegóły nieruchomości
code
Kod wykonywany przez interpretera kodu.
code?: string
Wartość nieruchomości
string
container_id
Identyfikator kontenera używanego do uruchamiania kodu.
container_id: string
Wartość nieruchomości
string
id
Unikatowy identyfikator wywołania narzędzia interpretera kodu.
id: string
Wartość nieruchomości
string
outputs
Wyjścia z interpretera kodu.
outputs?: (CodeInterpreterOutputLogs | CodeInterpreterOutputImage)[]
Wartość nieruchomości
status
Stan wywołania narzędzia interpretera kodu. Prawidłowe wartości to in_progress, , completedincomplete, interpreting, i failed.
status: "in_progress" | "completed" | "incomplete" | "failed" | "interpreting"
Wartość nieruchomości
"in_progress" | "completed" | "incomplete" | "failed" | "interpreting"
type
Typ wywołania narzędzia interpretera kodu. Zawsze code_interpreter_call.
type: "code_interpreter_call"
Wartość nieruchomości
"code_interpreter_call"