graphlit-client 1.0.20250713001 → 1.0.20250713002
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1798,10 +1798,7 @@ onEvent, onComplete, abortSignal) {
|
|
1798
1798
|
process.env.DEBUG_GRAPHLIT_SDK_STREAMING) {
|
1799
1799
|
console.log(`🔍 [Cohere] Full streamConfig for ${modelName}:`, JSON.stringify(streamConfig, null, 2));
|
1800
1800
|
}
|
1801
|
-
stream = await cohereClient.chatStream({
|
1802
|
-
...streamConfig,
|
1803
|
-
...(abortSignal && { signal: abortSignal }),
|
1804
|
-
});
|
1801
|
+
stream = await cohereClient.chatStream(streamConfig, abortSignal ? { abortSignal } : undefined);
|
1805
1802
|
}
|
1806
1803
|
catch (streamError) {
|
1807
1804
|
// Enhanced error logging
|