puter icon indicating copy to clipboard operation
puter copied to clipboard

[Tests] Add unit tests for OpenAiChatCompletionsProvider with mocked client

Open Salazareo opened this issue 6 months ago • 0 comments

OpenAiChatCompletionsProvider.ts only has its integration test. Add a separate OpenAiChatCompletionsProvider.test.ts for tool-call shape, streaming deltas, and usage/cost reporting through MeteringService. Keep the integration test untouched.

Salazareo avatar May 08 '26 00:05 Salazareo