tracehubpm / reports-check-action

Bug Reports (GitHub Issues) Quality Checker
MIT License
10 stars 1 forks source link

undefined `prompt_tokens` on `openai_token` fix #60

Closed h1alexbel closed 8 months ago

h1alexbel commented 8 months ago

PR-Codex overview

This PR updates the logic in main.ts to prioritize deepinfra_token over openai. If deepinfra_token is provided, the type will be set to "deepinfra"; otherwise, it defaults to "openai".

Detailed summary

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

codecov[bot] commented 8 months ago

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 3.32%. Comparing base (6cac108) to head (debd200).

Files Patch % Lines
src/main.ts 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #60 +/- ## ====================================== Coverage 3.32% 3.32% ====================================== Files 26 26 Lines 301 301 Branches 39 39 ====================================== Hits 10 10 Misses 291 291 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.