You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,36 @@ All notable changes to the OpenRouter IntelliJ Plugin will be documented in this
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [0.4.1] - 2025-12-23
9
+
10
+
### Bug Fixes
11
+
12
+
#### 🔧 SSE Streaming Format Compliance
13
+
-**Fixed AI Assistant Streaming** - Fixed SSE (Server-Sent Events) format to comply with specification
14
+
-**Blank Line Separators** - Added required blank lines after each SSE event to prevent JSON concatenation
15
+
-**Stream Termination** - Ensured all streams end with `[DONE]` marker followed by blank line
16
+
-**Error Handling** - Fixed error response SSE format to include proper event separators
17
+
18
+
**Root Cause**: SSE events were not separated by blank lines, causing the AI Assistant's JSON parser to receive concatenated JSON objects like `{"id":"1",...}{"id":"2",...}`, resulting in parsing error: "Expected EOF after parsing, but had { instead"
19
+
20
+
**Fix**: Added `writer.println()` after each SSE event in `StreamingResponseHandler.processStreamLine()` and error handlers to create the required blank line separator per SSE specification.
21
+
22
+
### Code Quality
23
+
24
+
#### 📝 Logging Improvements
25
+
-**Reduced Log Noise** - Moved verbose logging (getApiKey, getStoredApiKey, API key validation) from INFO to DEBUG level
26
+
-**Standardized Request IDs** - All log lines now use consistent `[Chat-XXXXXX]` format for easier log correlation
27
+
-**Fixed Log Levels** - Changed normal API request logging from WARN to DEBUG level
An IntelliJ IDEA plugin for integrating with [OpenRouter.ai](https://openrouter.ai), providing access to 400+ AI models with usage monitoring, quota tracking, and seamless JetBrains AI Assistant integration.
0 commit comments