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

agentjido / req_llm / b609b98275878fa032903148b26198afa35f073a-PR-59
62%
main: 49%

Build:
Build:
LAST BUILD BRANCH: feat/load-dotenv-config
DEFAULT BRANCH: main
Ran 26 Sep 2025 09:54PM UTC
Jobs 2
Files 50
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

26 Sep 2025 09:53PM UTC coverage: 61.683% (+0.4%) from 61.323%
b609b98275878fa032903148b26198afa35f073a-PR-59

Pull #59

github

mikehostetler
Fix tool calling encoding for OpenAI provider

- Implement role-specific message encoding in Provider.Defaults
- Extract tool calls from ContentParts to top-level tool_calls field
- Normalize function arguments to JSON strings as required by OpenAI
- Add proper tool_call_id handling for tool role messages
- Update test framework with assert_tool_calling_response helper
- Add comprehensive tests for all tool calling scenarios
- Regenerate fixtures with corrected encoding behavior

Fixes #44

Amp-Thread-ID: https://ampcode.com/threads/T-3eaeee9f-d4ba-43ec-b9a8-0c823a825576
Co-authored-by: Amp <amp@ampcode.com>
Pull Request #59: Fix tool calling encoding for OpenAI provider

35 of 46 new or added lines in 2 files covered. (76.09%)

1745 of 2829 relevant lines covered (61.68%)

326.45 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
4.08
-0.17% test/support/provider_test_helpers.ex
9
82.38
0.34% lib/req_llm/provider/defaults.ex
Jobs
ID Job ID Ran Files Coverage
1 b609b98275878fa032903148b26198afa35f073a-PR-59.1 26 Sep 2025 09:54PM UTC 50
61.68
GitHub Action Run
2 b609b98275878fa032903148b26198afa35f073a-PR-59.2 26 Sep 2025 09:54PM UTC 50
61.59
GitHub Action Run
Source Files on build b609b98275878fa032903148b26198afa35f073a-PR-59
  • Tree
  • List 50
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #59
  • PR Base - main (#DFD4B177...)
  • 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