Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add debug tool #26

Merged
merged 6 commits into from
May 28, 2023
Merged

Add debug tool #26

merged 6 commits into from
May 28, 2023

Conversation

RexWzh
Copy link
Member

@RexWzh RexWzh commented May 28, 2023

主要更新:

  • 修补 chat.save 为空的bug,增加 ensure_ascii=False 字段(by qing25)
  • 增加 debug_log 函数,用于排查调用错误(by LuaMarke)
  • 添加贡献者列表

@codecov
Copy link

codecov bot commented May 28, 2023

Codecov Report

Patch coverage: 72.22% and project coverage change: -0.50 ⚠️

Comparison is base (0692bcd) 83.03% compared to head (a5bd2e8) 82.53%.

❗ Current head a5bd2e8 differs from pull request most recent head dfa7444. Consider uploading reports for the commit dfa7444 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
- Coverage   83.03%   82.53%   -0.50%     
==========================================
  Files          12       12              
  Lines         448      481      +33     
==========================================
+ Hits          372      397      +25     
- Misses         76       84       +8     
Flag Coverage Δ
unittests 82.53% <72.22%> (-0.50%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
openai_api_call/__init__.py 73.33% <67.74%> (ø)
openai_api_call/chattool.py 55.08% <100.00%> (ø)
openai_api_call/request.py 87.75% <100.00%> (ø)
tests/test_openai_api_call.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member Author

@RexWzh RexWzh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check√

@RexWzh RexWzh merged commit 341d1cd into cubenlp:master May 28, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant