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

agentjido / req_llm / 54dd4e2920dae59181bd7179b616f5c4e34f4f43
49%

Build:
DEFAULT BRANCH: main
Ran 29 Nov 2025 06:10PM UTC
Jobs 0
Files 0
Run time –
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

pending completion
  cancel
54dd4e2920dae59181bd7179b616f5c4e34f4f43

push

github

web-flow
Fix Responses API tool encoding to use flat structure (#247)

* Fix Responses API tool encoding to use flat structure

The OpenAI Responses API expects function tools in a flat format:
  {type, name, description, parameters, strict}

Previously, the code was incorrectly nesting these fields under a 'function' key,
which caused the API to receive empty parameters and descriptions.

This resulted in tool calls with empty arguments '{}' because the model
couldn't see the parameter definitions.

Fixes tool calling for GPT-5.1 and other models using the Responses API.

Updated test to verify the correct flat structure format.

* Fix nil parameters case for strict mode compliance

Add required and additionalProperties to the nil parameters case
to fully satisfy OpenAI's strict mode requirements.

---------

Co-authored-by: Bryant Wolf <bawolf@gmail.com>
Source Files on build 54dd4e2920dae59181bd7179b616f5c4e34f4f43
Detailed source file information is not available for this build.
  • Back to Repo
  • 54dd4e29 on github
  • Prev Build on main (#FBD4BFCF...)
  • Next Build on main (#5132216E...)
  • 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