Open Issues Need Help
View All on GitHub stream-text: incompatible with `response_format: { type: 'json' }` about 2 months ago
AI Summary: Debug the `@xsai/stream-text` function to ensure it correctly streams text responses in chunks, even when using the `response_format: { type: 'json_object' }` option. The issue is that the current implementation returns the entire response at once instead of streaming it. The provided reproduction code uses a Node.js environment and the OpenAI API.
Complexity:
4/5
bug help wanted