UNPKG

adk-typescript

Version:

TypeScript port of Google's Agent Development Kit (ADK)

18 lines (17 loc) 463 B
"use strict"; /** * Basic type definitions for the ADK TypeScript port */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Part = void 0; /** * Part represents a content part, which can be text, a function call, or a function response */ class Part { constructor(data) { this.text = data.text; this.functionCall = data.functionCall; this.functionResponse = data.functionResponse; } } exports.Part = Part;