combinatrix-ai / PromptTrail

PromptTrail: A lightweight library for Prompt Programming, Agent as Code
https://prompttrail.readthedocs.io/en/latest/quickstart.html
MIT License
12 stars 0 forks source link

Add examples, mocks, and tests for stream feature of OpenAI models #7

Closed hmirin closed 1 year ago

hmirin commented 1 year ago

close #6

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

codecov[bot] commented 1 year ago

Codecov Report

Merging #7 (e8665ae) into main (46efac4) will increase coverage by 0.71%. The diff coverage is 57.89%.

@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
+ Coverage   51.09%   51.81%   +0.71%     
==========================================
  Files          16       16              
  Lines        1004     1019      +15     
==========================================
+ Hits          513      528      +15     
  Misses        491      491              
Files Changed Coverage Δ
src/prompttrail/provider/openai.py 75.75% <52.94%> (-2.82%) :arrow_down:
src/prompttrail/core.py 83.87% <100.00%> (+6.45%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more