agents / Exports / BaseExecutionResult
Interface: BaseExecutionResult
Base execution result for all plugins
Table of contents
Properties
Properties
response
• Optional response: string
Defined in
packages/agents/src/abstracts/base-plugin.ts:67
content
• Optional content: string
Defined in
packages/agents/src/abstracts/base-plugin.ts:68
duration
• Optional duration: number
Defined in
packages/agents/src/abstracts/base-plugin.ts:69
tokensUsed
• Optional tokensUsed: number
Defined in
packages/agents/src/abstracts/base-plugin.ts:70
toolsExecuted
• Optional toolsExecuted: number
Defined in
packages/agents/src/abstracts/base-plugin.ts:71
success
• Optional success: boolean
Defined in
packages/agents/src/abstracts/base-plugin.ts:72
usage
• Optional usage: Object
Type declaration
| Name | Type |
|---|---|
totalTokens? | number |
promptTokens? | number |
completionTokens? | number |
Defined in
packages/agents/src/abstracts/base-plugin.ts:73
toolCalls
• Optional toolCalls: { id?: string ; name?: string ; arguments?: Record<string, string | number | boolean> ; result?: null | string | number | boolean }[]
Defined in
packages/agents/src/abstracts/base-plugin.ts:75
results
• Optional results: { id?: string ; type?: string ; data?: null | string | number | boolean ; success?: boolean }[]
Defined in
packages/agents/src/abstracts/base-plugin.ts:82
error
• Optional error: Error
Defined in
packages/agents/src/abstracts/base-plugin.ts:88
metadata
• Optional metadata: Record<string, string | number | boolean | Date>