Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

CodeModeExecutionStartedEvent.md

83 lines1.2 KB

1---
2id: CodeModeExecutionStartedEvent
3title: CodeModeExecutionStartedEvent
4---
5​
6# Interface: CodeModeExecutionStartedEvent
7​
8Defined in: [packages/ai/src/types.ts:1450](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L1450)
9​
10Custom event for extensibility.
11​
12@ag-ui/core provides: `name`, `value`
13TanStack AI adds: `model?`
14​
15## Extends
16​
17- [`CustomEvent`](CustomEvent.md)
18​
19## Indexable
20​
21```ts
22[k: string]: unknown
23```
24​
25## Properties
26​
27### model?
28​
29```ts
30optional model: string;
31```
32​
33Defined in: [packages/ai/src/types.ts:1339](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L1339)
34​
35Model identifier for multi-model support
36​
37#### Inherited from
38​
39[`CustomEvent`](CustomEvent.md).[`model`](CustomEvent.md#model)
40​
41***
42​
43### name
44​
45```ts
46name: "code_mode:execution_started";
47```
48​
49Defined in: [packages/ai/src/types.ts:1451](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L1451)
50​
51#### Overrides
52​
53```ts
54CustomEvent.name
55```
56​
57***
58​
59### value
60​
61```ts
62value: object;
63```
64​
65Defined in: [packages/ai/src/types.ts:1452](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L1452)
66​
67#### codeLength
68​
69```ts
70codeLength: number;
71```
72​
73#### timestamp
74​
75```ts
76timestamp: number;
77```
78​
79#### Overrides
80​
81```ts
82CustomEvent.value
83```