puter
puter copied to clipboard
[Tests] Add unit tests for OpenAiChatCompletionsProvider with mocked client
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.