콘텐츠로 이동

ComputerTool

이 콘텐츠는 아직 번역되지 않았습니다.

type ComputerTool<Context, TComputer> = object;

Exposes a computer to the model as a tool to be called

The result of the tool

Type Parameter Default type Description

Context

UnknownContext

The context of the tool

TComputer extends Computer

Computer

computer: ComputerConfig<Context, TComputer>;

The computer to use.


name: "computer_use_preview" | string & object;

The name of the tool.


type: "computer";