Closed stephmilovic closed 2 days ago
Pinging @elastic/security-solution (Team: SecuritySolution)
@elasticmachine merge upstream
✅ unchanged
Starting backport for target branches: 8.15, 8.16, 8.17, 8.x
Status | Branch | Result |
---|---|---|
❌ | 8.15 | Backport failed because of merge conflicts |
✅ | 8.16 | |
✅ | 8.17 | |
✅ | 8.x |
Note: Successful backport PRs will be merged automatically after passing CI.
To create the backport manually run:
node scripts/backport --pr 201299
Please refer to the Backport tool documentation
Summary
Fixes streaming for Gemini in Security Assistant.
Content can appear in the
finishReason
block. I'm not sure when this started happening. Updates our streaming logic to support content being in thefinishReason
block.Example of
finishReason
block with content:To test
gemini-1.5-pro-002
)Previously
A response begin to streams and then the response gets cut off.
Now
The response streams in full as expected.