Ok so this is still pretty rough, and notably there's no reporting for streaming. But for non-streaming requests I've verified that this does in fact report requests locally.
4 lines
134 B
TypeScript
4 lines
134 B
TypeScript
// main.ts or index.ts at the root level
|
|
export * as OpenAI from "./src/openai";
|
|
export * as OpenAILegacy from "./src/openai-legacy";
|