basant307/AI_Governance_Project
045
1/**2 * @license3 * Copyright 2025 Google LLC4 * SPDX-License-Identifier: Apache-2.05 */6 7import { type PartListUnion } from '@google/genai';8import { partToString } from '../utils/partUtils.js';9 10/**11 * Represents a request to be sent to the Gemini API.12 * For now, it's an alias to PartListUnion as the primary content.13 * This can be expanded later to include other request parameters.14 */15export type GeminiCodeRequest = PartListUnion;16 17export function partListUnionToString(value: PartListUnion): string {18 return partToString(value, { verbose: true });19}20 