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

agentjido / req_llm / bab3ae5b95d2ed7c633903c5a0bc41f173802758-PR-160
53%
main: 49%

Build:
Build:
LAST BUILD BRANCH: feat/load-dotenv-config
DEFAULT BRANCH: main
Ran 30 Oct 2025 09:18PM UTC
Jobs 4
Files 84
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

30 Oct 2025 09:17PM UTC coverage: 52.871% (-0.1%) from 52.973%
bab3ae5b95d2ed7c633903c5a0bc41f173802758-PR-160

Pull #160

github

mikehostetler
Fix UTF-8 boundary handling in Groq streaming

The Groq provider's <think> tag normalization was splitting streaming
buffers at arbitrary byte positions, which could split multibyte UTF-8
characters (emojis, accented characters, etc.) causing ArgumentError
when writing to IO.

Added find_safe_split_point/2 helper that walks backward from the
desired split position to find a UTF-8 character boundary, ensuring
emitted chunks always contain valid UTF-8 sequences.

Fixes streaming errors when content contains non-ASCII characters.

Amp-Thread-ID: https://ampcode.com/threads/T-d495520c-b347-4f8a-badd-841d413e95f5
Co-authored-by: Amp <amp@ampcode.com>
Pull Request #160: Fix UTF-8 boundary handling in Groq streaming

0 of 10 new or added lines in 1 file covered. (0.0%)

6 existing lines in 3 files now uncovered.

3738 of 7070 relevant lines covered (52.87%)

453.32 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
10
42.98
-2.24% lib/req_llm/providers/groq.ex

Uncovered Existing Lines

Lines Coverage ∆ File
1
69.07
-0.52% lib/req_llm/providers/amazon_bedrock.ex
2
88.24
-11.76% test/support/streaming_case.ex
3
32.35
-8.82% test/support/fixtures.ex
Jobs
ID Job ID Ran Files Coverage
1 bab3ae5b95d2ed7c633903c5a0bc41f173802758-PR-160.1 30 Oct 2025 09:18PM UTC 84
52.81
GitHub Action Run
2 bab3ae5b95d2ed7c633903c5a0bc41f173802758-PR-160.2 30 Oct 2025 09:18PM UTC 84
52.77
GitHub Action Run
3 bab3ae5b95d2ed7c633903c5a0bc41f173802758-PR-160.3 30 Oct 2025 09:20PM UTC 84
52.83
GitHub Action Run
4 bab3ae5b95d2ed7c633903c5a0bc41f173802758-PR-160.4 30 Oct 2025 09:20PM UTC 84
52.84
GitHub Action Run
Source Files on build bab3ae5b95d2ed7c633903c5a0bc41f173802758-PR-160
  • Tree
  • List 84
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #160
  • PR Base - main (#70F745D5...)
  • Delete
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

© 2026 Coveralls, Inc