UTC: 2020-11-07 11:53
jerome-benoit/au-packages
This file is automatically generated by the update_all.ps1 script using the AU module.
Ignored | History | Force Test | Releases
UTC: 2020-11-07 11:53
jerome-benoit/au-packages
This file is automatically generated by the update_all.ps1 script using the AU module.
Ignored | History | Force Test | Releases
/**
* Default circular array size.
*/
export const DEFAULT_CIRCULAR_ARRAY_SIZE = 2000
/** Array with a maximum length shifting items when full. */
export class CircularArray<T> extends Array<T> {
/** @inheritdoc */
public size: number| #!/usr/bin/env node | |
| import fs from "fs"; | |
| import { loadCredentials } from "./reproduce-utils.mjs"; | |
| import { OrchestrationClient } from "@sap-ai-sdk/orchestration"; | |
| console.log("Loading actual failing request from log..."); | |
| const logContent = fs.readFileSync("/tmp/requete-400-candidate.json", "utf-8"); | |
| const jsonStart = logContent.indexOf("{"); | |
| const requestBody = JSON.parse(logContent.substring(jsonStart)); |