mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-07-28 06:02:56 +00:00
Added invariant compare option
This commit is contained in:
parent
861c4f6e68
commit
56b1cc8231
@ -27,7 +27,8 @@ public sealed partial class RustService
|
|||||||
var line = await reader.ReadLineAsync();
|
var line = await reader.ReadLineAsync();
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(line)) continue;
|
if (string.IsNullOrEmpty(line)) continue;
|
||||||
if (!line.StartsWith("data:")) continue;
|
if (!line.StartsWith("data:", StringComparison.InvariantCulture))
|
||||||
|
continue;
|
||||||
|
|
||||||
var jsonContent = line[5..];
|
var jsonContent = line[5..];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user