• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

keplergl / kepler.gl / 20488704248
62%

Build:
DEFAULT BRANCH: master
Ran 24 Dec 2025 03:05PM UTC
Jobs 1
Files 629
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Dec 2025 02:59PM UTC coverage: 61.642%. Remained the same
20488704248

push

github

web-flow
fix(ai-assistant): clear LLM history on restart chat (#3262)

* Fix AI Assistant restart to prevent token waste

When clicking 'Restart Chat', the LLM provider was still receiving the
entire conversation history in API calls, wasting tokens and increasing
costs.

Root cause: @openassistant library uses singleton instances that persist
across React component remounts, maintaining internal messageHistory.

Solution:
- Extract restartChat function from useAssistant hook
- Call it to clear library's internal singleton message cache
- Force React component remount using key prop
- Clear Redux message state

This eliminates token waste and reduces API costs for all users.

Signed-off-by: Akash Rai <akashtooop@gmail.com>

* fix: remove unnecessary useEffect for ref assignment

Apply code review feedback - direct ref assignment is preferred
over useEffect for updating refs in component body.

Signed-off-by: Akash Rai <akashtooop@gmail.com>

---------

Signed-off-by: Akash Rai <akashtooop@gmail.com>

6353 of 12237 branches covered (51.92%)

Branch coverage included in aggregate %.

13047 of 19235 relevant lines covered (67.83%)

81.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 20488704248.1 24 Dec 2025 03:05PM UTC 629
61.64
GitHub Action Run
Source Files on build 20488704248
  • Tree
  • List 629
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 26e4a17d on github
  • Prev Build on master (#20488162295)
  • Next Build on master (#20493318726)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc