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

agentjido / req_llm / 238938f570ca339103ec9eff557676f7cef21770

13 Oct 2025 02:38PM UTC coverage: 52.002% (+3.1%) from 48.928%
238938f570ca339103ec9eff557676f7cef21770

push

github

web-flow
Resurrect: Enhance model compatibility task and update provider implementations (#88)

* Implement object generation support check and enhance StreamServer functionality

- Added `supports_object_generation?/1` function in `ReqLLM.Capability` to determine if models support object generation across various providers.
- Enhanced `StreamServer` to capture raw data chunks for fixture generation, including warnings for excessive data sizes.
- Updated provider implementations for Anthropic and Google to streamline request handling and improve error messaging.
- Introduced new test cases for concurrent consumer scenarios and error handling in `StreamServer`.
- Refactored existing tests to align with new capabilities and ensure comprehensive coverage for object generation scenarios.

This commit aims to improve the robustness and maintainability of the streaming and object generation features in the ReqLLM library.

* Clean up dbug methods

* Add example scripts for embeddings, object generation, and multimodal analysis

- Introduced multiple example scripts demonstrating various functionalities of the ReqLLM library, including:
  - `embeddings_single.exs`: Generates embeddings for a single text input.
  - `embeddings_batch_similarity.exs`: Computes similarities between multiple text embeddings.
  - `object_generate.exs`: Demonstrates structured object generation based on a defined schema.
  - `object_stream.exs`: Shows streaming capabilities for structured object generation.
  - `multimodal_image_analysis.exs`: Analyzes images with a prompt and file input.
  - `multimodal_pdf_qa.exs`: Performs question answering on PDF documents.
  - `tools_function_calling.exs`: Demonstrates function calling with tools for weather, time, and jokes.
  - `text_generate.exs` and `text_stream.exs`: Showcases basic and streaming text generation.

- Added a comprehensive README.md to provide usage instructions and examples for each script, enhancing documentation and usability fo... (continued)

102 of 185 new or added lines in 13 files covered. (55.14%)

12 existing lines in 6 files now uncovered.

2766 of 5319 relevant lines covered (52.0%)

184.62 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

77.35
/test/support/transcript.ex


Source Not Available

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