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

agentjido / req_llm
62%
main: 51%

Build:
Build:
LAST BUILD BRANCH: feature/model-catalog
DEFAULT BRANCH: main
Repo Added 15 Sep 2025 11:42AM UTC
Token Qrw4J5oDDoi2zjHqBZDp1Hok4eVoONJAy regen
Build 207 Last
Files 82
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

LAST BUILD ON BRANCH bug/openai-tool-calls
branch: bug/openai-tool-calls
CHANGE BRANCH
x
Reset
Sync Branches
  • bug/openai-tool-calls
  • add-hex-changelog-and-module-grouping
  • add-vllm-provider
  • add_openai_responses_api_structured_responses
  • allow_json_schemas
  • bedrock-clean
  • bug/api-return-types
  • bug/codec-tool-calls
  • bug/debug-stream-return
  • bug/incorrect-model-spec-docs
  • bug/streaming-race-condition
  • cerebras
  • chore/2025-10-14-update-fixtures
  • chore/object-fixtures
  • chore/object-fixtures-resurrected
  • chore/refine-fixtures
  • chore/refresh-coverage-tests
  • chore/update-models-2025-09-21
  • copilot/fix-32
  • devtools
  • egomes/fix-claude-multi-turn
  • feat/context-json-serialization
  • feat/google-upload-file
  • feat/in-type-support
  • feat/structured-output-openai-google
  • feature/cerebras-provider
  • feature/configurable-metadata-timeout
  • feature/model-catalog
  • feature/normalize-bedrock-inference-profiles
  • feature/pre-release-fixes
  • feature/refactor-llm-api-fixtures
  • feature/refined-key-management
  • feature/unique-model-provider-options
  • feature/upgrade-ex-aws-auth
  • feature/zai-fixtures
  • fix-anthropic-streaming
  • fix-duplicate-clause
  • fix-google
  • fix-groq-stream-error
  • fix-mix-task-docs
  • fix-openai-max-tokens-param
  • fix/bug-119-aws-auth-credentials
  • fix/cost-calculation-in-usage
  • fix/google-file-support
  • fix/google-structured-output
  • fix/http2-large-request-bodies
  • fix/issue-65-http-status-validation
  • fix/issue-96-validation-error-fields
  • fix/proxy-options
  • fix/registry-get-provider-nil-module
  • fix/tool_calls
  • google-vision
  • improve-metadata-provider-errors
  • main
  • patch-1
  • put-max-tokens-model-options
  • refactor/context-tools
  • refactor/req-streaming
  • refactor/xai-structured-objects
  • remove-jido-keys
  • zai

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

Relevant lines Covered
Build:
Build:
2829 RELEVANT LINES 1745 COVERED LINES
326.45 HITS PER LINE
Source Files on bug/openai-tool-calls
  • Tree
  • List 50
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
b609b982... bug/openai-tool-calls 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 OpenA... Pull #59 26 Sep 2025 09:54PM UTC mikehostetler github
61.68
See All Builds (207)

Badge your Repo: req_llm

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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