INNER CODE UNIT · TypeScript

debugLog

gensx-inc/gensx · packages/gensx-cloud-mcp/src/index.ts:46

function debugLog(message: string, data?: unknown): void {
  console.error(`[DEBUG] ${message}`);
  if (data !== undefined) {
    console.error(JSON.stringify(data, null, 2));
  }
}

// API client for GenSX Cloud
class GenSXClient {
  constructor(
    private readonly org: string,
    private readonly projectName: string,
    private readonly environmentName: string,
    private readonly apiKey: string,
    private readonly baseUrl = "https://api.gensx.com",
  ) {}

  private async request<T>(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…