ai/ai.model.ts
A message exchanged between the user and the AI assistant.
This API is a "preview" and may change in future.
Properties |
|
| content |
content:
|
Type : string
|
|
The content if this is a user or system message. For assistant messages, instead you should use the text
parts returned in |
| finishReason |
finishReason:
|
Type : "stop" | "error" | "tool_use"
|
| Optional |
| steps |
steps:
|
Type : Array<AgentStep>
|
| Optional |
| timestamp |
timestamp:
|
Type : string
|
| Optional |