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

berserkhmdvhb / agentic-scraper / 17353807333
87%
main: 88%

Build:
Build:
LAST BUILD BRANCH: docs/modules-funcs
DEFAULT BRANCH: main
Ran 31 Aug 2025 06:58AM UTC
Jobs 4
Files 69
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

31 Aug 2025 06:56AM UTC coverage: 59.159% (-0.004%) from 59.163%
17353807333

push

github

berserkhmdvhb
refactor(agents): align llm_dynamic with llm_fixed client pattern and improve robustness

- Reworked llm_dynamic.py to mirror llm_fixed.py client handling:
  • Added single-binding `AsyncOpenAI` import with typed stub fallback
  • Ensured mypy compliance (no redefinitions, no ignores, no dynamic rebinds)
  • Stub now exposes `.chat.completions.create(...)` consistent with real SDK
  • Introduced `MSG_OPENAI_CLIENT_UNAVAILABLE` for stub error signaling
- Standardized dict-based message payloads for compatibility across SDK/stub
- Centralized all log/warning messages to `messages.py`
- Preserved retry handling with aliased exception types (OpenAIErrorT, APIErrorT, RateLimitErrorT)

This brings llm_dynamic in line with best practices already applied in llm_fixed, improving consistency, type safety, and testability.

5 of 11 new or added lines in 2 files covered. (45.45%)

3 existing lines in 1 file now uncovered.

2687 of 4542 relevant lines covered (59.16%)

4.73 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
31.25
-0.66% src/agentic_scraper/backend/scraper/agents/llm_dynamic.py

Uncovered Existing Lines

Lines Coverage ∆ File
3
31.25
-0.66% src/agentic_scraper/backend/scraper/agents/llm_dynamic.py
Jobs
ID Job ID Ran Files Coverage
1 17353807333.1 31 Aug 2025 06:58AM UTC 138
59.16
GitHub Action Run
2 17353807333.2 31 Aug 2025 06:58AM UTC 138
59.16
GitHub Action Run
3 17353807333.3 31 Aug 2025 06:58AM UTC 138
59.16
GitHub Action Run
4 17353807333.4 31 Aug 2025 06:58AM UTC 138
59.16
GitHub Action Run
Source Files on build 17353807333
  • Tree
  • List 69
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17353807333
  • 6ee4164e on github
  • Prev Build on infra/unit-tests (#17350471794)
  • Next Build on infra/unit-tests (#17369246166)
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