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

agentjido / req_llm
51%
main: 51%

Build:
Build:
LAST BUILD BRANCH: add_openai_responses_api_structured_responses
DEFAULT BRANCH: main
Repo Added 15 Sep 2025 11:42AM UTC
Token Qrw4J5oDDoi2zjHqBZDp1Hok4eVoONJAy regen
Build 190 Last
Files 79
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 refactor/context-tools
branch: refactor/context-tools
CHANGE BRANCH
x
Reset
Sync Branches
  • refactor/context-tools
  • add-vllm-provider
  • add_openai_responses_api_structured_responses
  • bedrock-clean
  • bug/api-return-types
  • bug/codec-tool-calls
  • bug/debug-stream-return
  • bug/incorrect-model-spec-docs
  • bug/openai-tool-calls
  • 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/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/req-streaming
  • refactor/xai-structured-objects
  • remove-jido-keys
  • zai

14 Oct 2025 02:49PM UTC coverage: 51.19% (-0.8%) from 52.002%
9e02a5713331885b030771b7caf2759f7ccd926a-PR-98

Pull #98

github

mikehostetler
Refactor assistant message handling in ReqLLM.Context

- Updated `ReqLLM.Context` to streamline the creation of assistant messages, allowing for optional tool calls and metadata.
- Replaced the deprecated `assistant_with_tools` function with a more flexible `assistant` function that accepts tool calls as part of its options.
- Enhanced the `user` function to support both map and keyword list options for metadata.
- Introduced private helper functions for normalizing tool calls and converting content to parts.
- Updated tests to reflect changes in message creation and ensure proper handling of tool calls.

These changes aim to improve the clarity and maintainability of message handling within the ReqLLM library, enhancing the overall functionality of assistant interactions.
Pull Request #98: Refactor context and message handling for tool calls

110 of 305 new or added lines in 20 files covered. (36.07%)

13 existing lines in 6 files now uncovered.

2797 of 5464 relevant lines covered (51.19%)

179.77 hits per line

Relevant lines Covered
Build:
Build:
5464 RELEVANT LINES 2797 COVERED LINES
179.77 HITS PER LINE
Source Files on refactor/context-tools
  • Tree
  • List 69
  • Changed 23
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
9e02a571... refactor/context-tools Refactor assistant message handling in ReqLLM.Context - Updated `ReqLLM.Context` to streamline the creation of assistant messages, allowing for optional tool calls and metadata. - Replaced the deprecated `assistant_with_tools` function with a mor... Pull #98 14 Oct 2025 02:50PM UTC mikehostetler github
51.19
2af1c501... refactor/context-tools Add example scripts for context reuse, cross-model context, and reasoning tokens - Introduced new example scripts demonstrating various functionalities of the ReqLLM library, including: - `context_reuse.exs`: Shows how the same context can be p... Pull #98 13 Oct 2025 06:48PM UTC mikehostetler github
51.83
98ddb061... refactor/context-tools Refactor context and message handling for tool calls - Updated `ReqLLM.Context` to replace `push_user`, `push_assistant`, and `push_system` with `append` and `prepend` methods for better clarity and consistency. - Introduced `ReqLLM.ToolCall` str... Pull #98 13 Oct 2025 04:05PM UTC mikehostetler github
51.71
See All Builds (190)

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