> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# endConversation

> TypeScript SDK 레퍼런스

```ts theme={"system"}
endConversation(opts?: object): void
```

[GitHub source](https://github.com/wandb/weave/blob/7c9efdc9fe05ffcaf2430dd652ef9bc5b3ffdfaa/sdks/node/src/genai/api.ts#L159)

현재 대화를 종료합니다. 활성 대화가 없으면 no-op입니다.

## 매개변수

**opts** `object`

**속성**

**endTime** `TimeInput`

**error** `Error`

## 반환값

`void`

## 예시

```ts twoslash theme={"system"}
// @noErrors
weave.endConversation();
```

```ts twoslash theme={"system"}
// @noErrors
weave.endConversation({endTime: new Date('2026-05-29T10:00:01.700Z')});
```
